Partager via


GlobalTypeCollection.IndexOf, méthode

Notez la position de l'élément spécifié.

Espace de noms :  Microsoft.VisualStudio.Shell.Design
Assembly :  Microsoft.VisualStudio.Shell.Design (dans Microsoft.VisualStudio.Shell.Design.dll)

Syntaxe

'Déclaration
Public Function IndexOf ( _
    item As GlobalType _
) As Integer
public int IndexOf(
    GlobalType item
)

Paramètres

Valeur de retour

Type : System.Int32
L'index auquel l'élément a été recherché, ou -1 s'il n'est pas dans la collection.

Sécurité .NET Framework

Voir aussi

Référence

GlobalTypeCollection Classe

Microsoft.VisualStudio.Shell.Design, espace de noms