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 支持使用索引属性,但不支持声明新索引属性。

参数

属性值

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