Condividi tramite


Metodo IndexOf

Gets the index of a specified URN from a collection.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function IndexOf ( _
    urn As Urn _
) As Integer
'Utilizzo
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

Valore restituito

Tipo: System. . :: . .Int32
Int32

Implementa

IList< (Of < ( <'T> ) > ) >. . :: . .IndexOf(T)