Share via


SortedListCollection<T>.IMetadataCollection<IMetadataObject>.Item Property (String)

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 IMetadataObject Implements IMetadataCollection(Of IMetadataObject).Item 
    Get
'Usage
Dim instance As SortedListCollection 
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 specified IMetadataObject element.

Implements

IMetadataCollection<T>.Item[String]

See Also

Reference

SortedListCollection<T> Class

Item Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace