次の方法で共有


ConfigurationValueCollection.Item プロパティ (Int32)

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

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

構文

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

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

パラメーター

プロパティ値

型: Microsoft.SqlServer.Management.Smo.Mail.ConfigurationValue
構成オプションを表す ConfigurationValue オブジェクトの値です。

使用例

コレクションの使用

関連項目

参照

ConfigurationValueCollection クラス

Item オーバーロード

Microsoft.SqlServer.Management.Smo.Mail 名前空間