Condividi tramite


Proprietà Item

Gets the element in the collection by name.

Spazio dei nomi  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Sintassi

'Dichiarazione
ReadOnly Default Property Item ( _
    name As String _
) As T
    Get
'Utilizzo
Dim instance As IMetadataCollection
Dim name As String
Dim value As T

value = instance(name)
T this[
    string name
] { get; }
property T default[String^ name] {
    T get (String^ name);
}
abstract Item : 'T
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

Tipo: T
The specified element.