Item-Eigenschaft (String)
Returns the object with the specified name in the collection
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As Volume
Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- name
Typ: System. . :: . .String
A String value that specifies the name of the computer.
Eigenschaftswert
Typ: Microsoft.SqlServer.Management.Utility. . :: . .Volume
A Volume object that represents the volume with the specified name.