GlobalTypeCollection::IndexOf Method (GlobalType^)

 

Get the position of the specified item.

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

public:
int IndexOf(
	GlobalType^ item
)

Parameters

item
Type: Microsoft.VisualStudio.Shell.Design::GlobalType^

The item to find.

Return Value

Type: System::Int32

The index at which the item was found, or -1 if it is not in the collection.

Return to top
Show: