Proprietà Item (String)
Returns the object with the specified name in the collection
Spazio dei nomi Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
name As String _
) As Volume
Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: System. . :: . .String
A String value that specifies the name of the computer.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Utility. . :: . .Volume
A Volume object that represents the volume with the specified name.
Vedere anche