次の方法で共有


IndexOf メソッド

指定した URN のインデックスをコレクションから取得します。

名前空間:  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

パラメーター

  • urn
    型: Urn
    Urn

戻り値

型: System. . :: . .Int32
Int32

実装

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