IVsDataExplorerChildNodeCollection.IndexOf (Método) (String, array<Object )

Recupera el índice del nodo de conexión correspondiente al nombre de tipo e identificadores especificados de nombre.

Espacio de nombres:  Microsoft.VisualStudio.Data.Services
Ensamblado:  Microsoft.VisualStudio.Data.Services (en Microsoft.VisualStudio.Data.Services.dll)

Sintaxis

'Declaración
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

Parámetros

  • typeName
    Tipo: System.String
    El nombre del tipo de objeto de datos solicitado.
  • identifier
    Tipo: array<System.Object[]
    Una matriz de las partes del identificador que identifica de forma exclusiva el objeto de datos solicitado.

Valor devuelto

Tipo: System.Int32
El índice del nodo de conexión en el Explorador de servidores, si se encuentra; de lo contrario, -1.

Seguridad de .NET Framework

Vea también

Referencia

IVsDataExplorerChildNodeCollection Interfaz

IndexOf (Sobrecarga)

Microsoft.VisualStudio.Data.Services (Espacio de nombres)