Partager via


Propriété Item (String)

Returns the object with the specified name in the collection

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    name As String _
) As Volume
    Get
'Utilisation
Dim instance As VolumeCollection
Dim name As String
Dim value As Volume

value = instance(name)
public Volume this[
    string name
] { get; }
public:
property Volume^ default[String^ name] {
    Volume^ get (String^ name);
}
member Item : Volume
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 propriété

Type : Microsoft.SqlServer.Management.Utility. . :: . .Volume
A Volume object that represents the volume with the specified name.