Share via


IMutableMetadataCollection<T>.Item Property (String)

Gets or sets the element in the collection by name.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Default Property Item ( _
    name As String _
) As T
    Get
    Set
'Usage
Dim instance As IMutableMetadataCollection
Dim name As String
Dim value As T

value = instance(name)

instance(name) = value
T this[
    string name
] { get; set; }
property T default[String^ name] {
    T get (String^ name);
    void set (String^ name, T value);
}
abstract 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

IMetadataCollection<T>.Item[String]