Partager via


IVsDataExplorerChildNodeCollection.IndexOf, méthode (IVsDataObject)

Récupère l'index du nœud de connexion qui correspond à l'objet de données 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 ( _
    obj As IVsDataObject _
) As Integer
int IndexOf(
    IVsDataObject obj
)
int IndexOf(
    IVsDataObject^ obj
)
abstract IndexOf : 
        obj:IVsDataObject -> int 
function IndexOf(
    obj : IVsDataObject
) : int

Paramètres

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