ReadOnlyPSMemberInfoCollection<T>.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
The member matching name.
Exceptions
For invalid arguments.