PropertyCollection.Item プロパティ (Int32)

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

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

構文

'宣言
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Property 
    Get
'使用
Dim instance As PropertyCollection 
Dim index As Integer 
Dim value As [Property]

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

パラメーター

  • index
    型: System.Int32
    コレクション内のオブジェクトの位置を示す Int32 値です。

プロパティ値

型: Microsoft.SqlServer.Management.Smo.Property
プロパティを表すオブジェクトの値です。

使用例

コレクションの使用

関連項目

参照

PropertyCollection クラス

Item オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

コレクションの使用