Windows Dev Center

ReadOnlyPSMemberInfoCollection Generic Class

Serves as a read-only collection of members.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As ReadOnlyPSMemberInfoCollection(Of T)

<DefaultMemberAttribute("Item")> _
Public Class ReadOnlyPSMemberInfoCollection(Of T As PSMemberInfo)
	Implements IEnumerable(Of T), IEnumerable



The type parameter that specifies the type of the members in the collection. This type must be convertible to a PSMemberInfo.

A read-only collection of members is returned by calls to the Match method.

Although it is possible to derive from this class, there is no established scenario for doing this and any attempt to do so may result in unexpected behavior.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

© 2015 Microsoft