Partager via


Item propriété (String)

Gets the name of the collection item.

Espace de noms :  Microsoft.SqlServer.Management.Collector
Assembly :  Microsoft.SqlServer.Management.Collector (dans Microsoft.SqlServer.Management.Collector.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    name As String _
) As CollectionItem
    Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de la propriété

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

Notes

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