Item 属性
Gets the element in the collection by name.
命名空间: Microsoft.SqlServer.Management.SqlParser.Metadata
程序集: Microsoft.SqlServer.Management.SqlParser(在 Microsoft.SqlServer.Management.SqlParser.dll 中)
语法
声明
ReadOnly Default Property Item ( _
name As String _
) As T
Get
用法
Dim instance As IMetadataCollection
Dim name As String
Dim value As T
value = instance(name)
T this[
string name
] { get; }
property T default[String^ name] {
T get (String^ name);
}
abstract Item : 'T
JScript 支持使用索引属性,但不支持声明新索引属性。
参数
- name
类型:System. . :: . .String
The name of the element.
属性值
类型:T
The specified element.