GlobalTypeCollection::IList::IndexOf Method (Object^)

 

Gets the position of an item in the collection.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

private:
virtual int IndexOf(
	Object^ item
) sealed = IList::IndexOf

Parameters

item
Type: System::Object^

The item to find.

Return Value

Type: System::Int32

The position of the item, or -1 if it was not found.

Return to top
Show: