VCReferences.Item(Object) Method
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.
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.