OrderedCollectionBase<T>.IMetadataCollection<T>.Item Property

Gets the element that has the specified name.

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

Syntax

'Declaration
Private ReadOnly Property Item ( _
    name As String _
) As T Implements IMetadataCollection(Of T).Item 
    Get
'Usage
Dim instance As OrderedCollectionBase 
Dim name As String 
Dim value As T

value = CType(instance, IMetadataCollection(Of T)).Item(name)
T IMetadataCollection<T>.this[
    string name
] { get; }
private:
virtual property T Item[String^ name] {
    T get (String^ name) sealed = IMetadataCollection<T>::Item::get;
}
private abstract Item : 'T
private override Item : 'T
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • name
    Type: String
    The name of the element.

Property Value

Type: T
The specified element.

Implements

IMetadataCollection<T>.Item

See Also

Reference

OrderedCollectionBase<T> Class

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace