Share via


IVsDataExplorerChildNodeCollection.IndexOf, méthode (Int32)

Récupère l'index du nœud de connexion qui correspond à l'identificateur spécifié d'objet de données.

Espace de noms :  Microsoft.VisualStudio.Data.Services
Assembly :  Microsoft.VisualStudio.Data.Services (dans Microsoft.VisualStudio.Data.Services.dll)

Syntaxe

'Déclaration
Function IndexOf ( _
    itemId As Integer _
) As Integer
int IndexOf(
    int itemId
)
int IndexOf(
    int itemId
)
abstract IndexOf : 
        itemId:int -> int 
function IndexOf(
    itemId : int
) : int

Paramètres

  • itemId
    Type : System.Int32
    Une valeur entière représentant l'ID de l'objet de données.

Valeur de retour

Type : System.Int32
Index du nœud de connexion dans l'explorateur de serveurs, si détecté ; sinon, -1.

Sécurité .NET Framework

Voir aussi

Référence

IVsDataExplorerChildNodeCollection Interface

IndexOf, surcharge

Microsoft.VisualStudio.Data.Services, espace de noms