Proprietà CollectionItemCollection.Item (String)
Gets the name of the collection item.
Spazio dei nomi Microsoft.SqlServer.Management.Collector
Assembly: Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
name As String _
) As CollectionItem
Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: System.String
The name of the collection item.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Collector.CollectionItem
A Sting value that is the name of the collection item.
Osservazioni
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.