次の方法で共有


CollectionItemCollection.Item プロパティ (String)

コレクション アイテムの名前を取得します。

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

構文

'宣言
Public ReadOnly Default Property Item ( _
    name As String _
) As CollectionItem 
    Get
'使用
Dim instance As CollectionItemCollection 
Dim name As String 
Dim value As CollectionItem 

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

パラメーター

  • name
    型: System.String
    コレクション アイテムの名前です。

プロパティ値

型: Microsoft.SqlServer.Management.Collector.CollectionItem
コレクション アイテムの名前を表す Sting 値です。

説明

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework 2.0 でのみサポートされています。

関連項目

参照

CollectionItemCollection クラス

Item オーバーロード

Microsoft.SqlServer.Management.Collector 名前空間