Share via


DualTypeSortedListCollection<T, B>.IMetadataCollection<B>.Item Property (String)

Gets the specified element from the collection.

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 B Implements IMetadataCollection(Of B).Item
    Get
'Usage
Dim instance As DualTypeSortedListCollection
Dim name As String
Dim value As B

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

Parameters

Property Value

Type: B
The object with the specified name.

Implements

IMetadataCollection<T>.Item[String]