Sdílet prostřednictvím


IVsDataExplorerChildNodeCollection.IndexOf – metoda (String, array<Object )

Načte index uzel připojení odpovídající název zadaný název typu a identifikátory.

Obor názvů:  Microsoft.VisualStudio.Data.Services
Sestavení:  Microsoft.VisualStudio.Data.Services (v Microsoft.VisualStudio.Data.Services.dll)

Syntaxe

'Deklarace
Function IndexOf ( _
    typeName As String, _
    identifier As Object() _
) As Integer
int IndexOf(
    string typeName,
    Object[] identifier
)
int IndexOf(
    String^ typeName, 
    array<Object^>^ identifier
)
abstract IndexOf : 
        typeName:string * 
        identifier:Object[] -> int 
function IndexOf(
    typeName : String, 
    identifier : Object[]
) : int

Parametry

  • typeName
    Typ: System.String
    Název typu objektu požadovaná data.
  • identifier
    Typ: array<System.Object[]
    Pole identifikátor části, které jednoznačně identifikují požadovaná data objektu.

Vrácená hodnota

Typ: System.Int32
Index připojení uzlu v Server Explorer Pokud nalézt; jinak -1.

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

IVsDataExplorerChildNodeCollection Rozhraní

IndexOf – přetížení

Microsoft.VisualStudio.Data.Services – obor názvů