Share via


Méthode IndexOf

Gets the index of a specified URN from a collection.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function IndexOf ( _
    urn As Urn _
) As Integer
'Utilisation
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

Valeur de retour

Type : System. . :: . .Int32
Int32

Implémente

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