Share via


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

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

Parameters

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObject
The object that has the specified name.

Implements

IMetadataCollection<T>.Item[String]

See Also

Reference

DictionaryCollection<T> Class

Item Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace