Partager via


GlobalTypeCollection.IndexOf(GlobalType) Method

Definition

Get the position of the specified item.

public:
 int IndexOf(Microsoft::VisualStudio::Shell::Design::GlobalType ^ item);
public int IndexOf (Microsoft.VisualStudio.Shell.Design.GlobalType item);
member this.IndexOf : Microsoft.VisualStudio.Shell.Design.GlobalType -> int
Public Function IndexOf (item As GlobalType) As Integer

Parameters

item
GlobalType

The item to find.

Returns

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

Applies to