PSMemberInfoCollection(Of T) Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Serves as a collection of members in a PSObject or PSMemberSet object.

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

System.Object
  System.Management.Automation.PSMemberInfoCollection(Of T)

Public MustInherit Class PSMemberInfoCollection(Of T As PSMemberInfo)
	Implements IEnumerable(Of T), IEnumerable

Type Parameters

T

The type parameter that specifies what members are collected (PSObject or PSMemberSet).

NameDescription
System_CAPS_protmethodPSMemberInfoCollection(Of T)()

Initializes a new instance of the PSMemberInfoCollection(Of T) class.

NameDescription
System_CAPS_pubpropertyItem(String)

When overridden in a derived class, gets the specified member from the collection.

NameDescription
System_CAPS_pubmethodAdd(T)

When overridden in a derived class, adds a member to the collection.

System_CAPS_pubmethodAdd(T, Boolean)

When overridden in a derived class, adds a member to the collection and specifies the validation status.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

When overridden in a derived class, gets the enumerator for the collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodMatch(String)

When overridden in a derived class, retrieves all members in the collection whose name matches the specified name.

System_CAPS_pubmethodMatch(String, PSMemberTypes)

When overridden in a derived class, retrieves all members in the collection whose name and type match the specified name and type.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(String)

When overridden in a derived class, removes a member from the collection.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Retrieves the non-generic enumerator for this collection. This method is introduced in Windows PowerShell 2.0.

For a PSObject object, this collection contains the members of the base-object of the PSObject object.

Although it is possible to derive from this class, there is no established scenario for doing this and any attempt to do so might 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.

Return to top
Show: