VCReferences.Item(Object) Method

Definition

Selects an item in the collection.

public:
 System::Object ^ Item(System::Object ^ Index);
public:
 Platform::Object ^ Item(Platform::Object ^ Index);
winrt::Windows::Foundation::IInspectable Item(winrt::Windows::Foundation::IInspectable const & Index);
[System.Runtime.InteropServices.DispId(0)]
public object Item (object Index);
[<System.Runtime.InteropServices.DispId(0)>]
abstract member Item : obj -> obj
Public Function Item (Index As Object) As Object

Parameters

Index
Object

An object representing the index of the item in the collection.

Returns

An item in the collection.

Attributes

Remarks

You can provide either a 1-based number that is an index to an item in the collection, or you can provide a quoted string representing the name of an item in the collection.

Applies to