IndexOf 메서드

Gets the index of a specified URN from a collection.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
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

매개 변수

  • urn
    형식: Urn
    Urn

반환 값

형식: System. . :: . .Int32
Int32

구현

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