Delen via


PSMemberInfoCollection<T> Class

Definition

Serves as the collection of members in an PSObject or MemberSet.

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

Type Parameters

T
Inheritance
PSMemberInfoCollection<T>
Implements

Constructors

PSMemberInfoCollection<T>()

Initializes a new instance of an PSMemberInfoCollection derived class.

Properties

Item[String]

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

Methods

Add(T, Boolean)

Adds a member to this collection.

Add(T)

Adds a member to this collection.

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.

Remove(String)

Removes a member from this collection.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Gets the general enumerator for this collection.

Applies to