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 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- name
型別:System.String
The name of the collection item.
屬性值
型別: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.