System::Collections::Generic::IList::IndexOf method

IList::IndexOf method

Gets index of first appearance of item in container.

virtual int System::Collections::Generic::IList<T>::IndexOf(const T &item) const =0
ParameterTypeDescription
itemconst T&Item to look for.

ReturnValue

Index of first appearance of item in container or -1 if not found.

See Also