다음을 통해 공유


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)