Item 屬性 (String)
Returns the object with the specified name in the collection
命名空間: Microsoft.SqlServer.Management.Utility
組件: Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)
語法
'宣告
Public ReadOnly Default Property Item ( _
name As String _
) As Volume
Get
'用途
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 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- name
型別:System. . :: . .String
A String value that specifies the name of the computer.
屬性值
型別:Microsoft.SqlServer.Management.Utility. . :: . .Volume
A Volume object that represents the volume with the specified name.