Proprietà IReadOnlyDictionary<K, T>.Item

Gets the value associated with the specified key.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
ReadOnly Default Property Item ( _
    key As K _
) As T
    Get
'Utilizzo
Dim instance As IReadOnlyDictionary 
Dim key As K
Dim value As T

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

Parametri

  • key
    Tipo: K
    The key of the value to get.

Valore proprietà

Tipo: T
The value of the specified key.

Vedere anche

Riferimento

IReadOnlyDictionary<K, T> Interfaccia

Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc