OrderedCollectionBase<T>.Item Property (String)

Gets or sets 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
Public Default Property Item ( _
    name As String _
) As T
    Get 
    Set
'Usage
Dim instance As OrderedCollectionBase 
Dim name As String 
Dim value As T

value = instance(name)

instance(name) = value
public T this[
    string name
] { get; set; }
public:
virtual property T default[String^ name] {
    T get (String^ name) sealed;
    void set (String^ name, T value) sealed;
}
abstract Item : 'T with get, set 
override Item : 'T with get, set
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: T
The specified element.

Implements

IMutableMetadataCollection<T>.Item[String]

See Also

Reference

OrderedCollectionBase<T> Class

Item Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace