Метод IndexOf

Gets the index of a specified URN from a collection.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Function IndexOf ( _
    urn As Urn _
) As Integer
'Применение
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

Возвращаемое значение

Тип: System. . :: . .Int32
Int32

Реализует

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