System::Collections::IList::IndexOf method

IList::IndexOf method

Gets the first index of the specified item.

virtual int System::Collections::IList::IndexOf(SharedPtr<System::Object> item) const =0
ParameterTypeDescription
itemSharedPtr<System::Object>The item to look for.

ReturnValue

The index of the first occurrence of the specified item, otherwise -1.

See Also