OrderedCollection<T>.IMetadataCollection<IMetadataObject>.Item Property (String)
Gets the element in the collection by 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 OrderedCollection
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
- name
Type: System.String
The name of the element to retrieve.
Property Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObject
The specified element.
Implements
IMetadataCollection<T>.Item[String]
See Also
Reference
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace