IVsDataExplorerChildNodeCollection.IndexOf, méthode (String)

Récupère l'index du nœud de connexion correspondant au nom spécifié.

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

Syntaxe

'Déclaration
Function IndexOf ( _
    name As String _
) As Integer
int IndexOf(
    string name
)
int IndexOf(
    String^ name
)
abstract IndexOf : 
        name:string -> int
function IndexOf(
    name : String
) : int

Paramètres

  • name
    Type : String

    Le nom du nœud de connexion pour obtenir l'index pour.

Valeur de retour

Type : 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