CollectionItemCollection.Item 属性 (String)

Gets the name of the collection item.

命名空间:  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 支持使用索引属性,但不支持声明新索引属性。

参数

属性值

类型:Microsoft.SqlServer.Management.Collector.CollectionItem
A Sting value that is the name of the collection item.

注释

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

请参阅

参考

CollectionItemCollection 类

Item 重载

Microsoft.SqlServer.Management.Collector 命名空间