Freigeben über


ReadOnlyPSMemberInfoCollection<T>.Item[] Property

Definition

Overloads

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.

Item[Int32]

Returns the 0 based member identified by index.

public:
 property T default[int] { T get(int index); };
public T this[int index] { get; }
member this.Item(int) : 'T
Default Public ReadOnly Property Item(index As Integer) As T

Parameters

index
Int32

Index of the member to retrieve.

Property Value

T

Exceptions

For invalid arguments.

Applies to

Item[String]

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

public:
 property T default[System::String ^] { T get(System::String ^ name); };
public T this[string name] { get; }
member this.Item(string) : 'T
Default Public 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