次の方法で共有


Item プロパティ

コレクション内にある指定したインデックス番号の Urn オブジェクトを取得します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Default Property Item ( _
    index As Integer _
) As Urn
    Get
    Set
'使用
Dim instance As UrnCollection
Dim index As Integer
Dim value As Urn

value = instance(index)

instance(index) = value
public Urn this[
    int index
] { get; set; }
public:
virtual property Urn^ default[int index] {
    Urn^ get (int index) sealed;
    void set (int index, Urn^ value) sealed;
}
abstract Item : Urn with get, set
override Item : Urn with get, set
JScript はインデックス化されたプロパティの使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

プロパティ値

型: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
URN (Uniform Resource Name) アドレスを表す Urn オブジェクト値。

実装

IList< (Of < ( <'T> ) > ) >. . :: . .Item[ ( [ ( Int32] ) ] )