Share via


ICollection.item(Object) Method

Definition

Gets an item from a collection.

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

Parameters

varItem
Object

The item to retrieve.

Returns

Attributes

Applies to