Compartir a través de


UrnCollection.IndexOf Método

Gets the index of a specified URN from a collection.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Function IndexOf ( _
    urn As Urn _
) As Integer
'Uso
Dim instance As UrnCollection 
Dim urn As Urn 
Dim returnValue As Integer 

returnValue = instance.IndexOf(urn)
public int IndexOf(
    Urn urn
)
public:
virtual int IndexOf(
    Urn^ urn
) sealed
abstract IndexOf : 
        urn:Urn -> int  
override IndexOf : 
        urn:Urn -> int
public final function IndexOf(
    urn : Urn
) : int

Parámetros

Valor devuelto

Tipo: System.Int32
The index of a specified URN.

Implementa

IList<T>.IndexOf(T)

Ejemplos

Usar colecciones

Vea también

Referencia

UrnCollection Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo