Share via


IMetadataCollection<T>.Item Property

Gets the element in the collection by name.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Default Property Item ( _
    name As String _
) As T
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: T
The specified element.