Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ReadOnlyPSMemberInfoCollection<T> Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Serves as a read-only collection of members.

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

System.Object
  System.Management.Automation.ReadOnlyPSMemberInfoCollection<T>

public class ReadOnlyPSMemberInfoCollection<T> : IEnumerable<T>, 
	IEnumerable
where T : PSMemberInfo

Type Parameters

T

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

NameDescription
System_CAPS_pubpropertyCount

Gets the number of members in the collection.

System_CAPS_pubpropertyItem[Int32]

Gets a member from the collection based on its index.

System_CAPS_pubpropertyItem[String]

Gets a member from the collection based on its name.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Retrieves the specific enumerator for this collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodMatch(String)

Retrieves all members in the collection whose name matches the specified name.

System_CAPS_pubmethodMatch(String, PSMemberTypes)

Retrieves all members in the collection whose name matches the specified name and type.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Retrieves a non-generic enumerator that can iterate through the collection.

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.

Return to top
Show: