Compartilhar via


ReadOnlyPSMemberInfoCollection<T> Class

Definition

Serves as a read only collection of members.

generic <typename T>
 where T : PSMemberInfopublic ref class ReadOnlyPSMemberInfoCollection : System::Collections::Generic::IEnumerable<T>
public class ReadOnlyPSMemberInfoCollection<T> : System.Collections.Generic.IEnumerable<T> where T : PSMemberInfo
type ReadOnlyPSMemberInfoCollection<'T (requires 'T :> PSMemberInfo)> = class
    interface seq<'T (requires 'T :> PSMemberInfo)>
    interface IEnumerable
Public Class ReadOnlyPSMemberInfoCollection(Of T)
Implements IEnumerable(Of T)

Type Parameters

T
Inheritance
ReadOnlyPSMemberInfoCollection<T>
Implements

Remarks

It is permitted to subclass ReadOnlyPSMemberInfoCollection<T> but there is no established scenario for doing this, nor has it been tested.

Properties

Count

Gets the number of elements in this collection.

Item[Int32]

Returns the 0 based member identified by index.

Item[String]

Return the member in this collection matching name. If the member does not exist, null is returned.

Methods

GetEnumerator()

Gets the specific enumerator for this collection.

Match(String, PSMemberTypes)

Returns all members in the collection matching name and types.

Match(String)

Returns all members in the collection matching name.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Gets the general enumerator for this collection.

Applies to