GlobalObjectCollection.IList.IndexOf(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.
Gets the position of an object in the collection.
virtual int System.Collections.IList.IndexOf(System::Object ^ item) = System::Collections::IList::IndexOf;
virtual int System.Collections.IList.IndexOf(Platform::Object ^ item) = System::Collections::IList::IndexOf;
int System.Collections.IList.IndexOf(winrt::Windows::Foundation::IInspectable const & item);
int IList.IndexOf (object item);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (item As Object) As Integer Implements IList.IndexOf
Parameters
- item
- Object
The item to find.
Returns
The position of the object in the collection.