Share via


GlobalTypeCollection.IndexOf Method

Get the position of the specified item.

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

Syntax

'Declaration
Public Function IndexOf ( _
    item As GlobalType _
) As Integer
public int IndexOf(
    GlobalType item
)
public:
int IndexOf(
    GlobalType^ item
)
member IndexOf : 
        item:GlobalType -> int
public function IndexOf(
    item : GlobalType
) : int

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

GlobalTypeCollection Class

Microsoft.VisualStudio.Shell.Design Namespace