Partager via


PSMemberInfoCollection<T>.Item[String] Property

Definition

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

public:
 abstract property T default[System::String ^] { T get(System::String ^ name); };
public abstract T this[string name] { get; }
member this.Item(string) : 'T
Default Public MustOverride ReadOnly Property Item(name As String) As T

Parameters

name
String

Name of the member to look for.

Property Value

T

The member matching name.

Exceptions

For invalid arguments.

Applies to