Freigeben über


IReadOnlyDictionary<K, T>.Item-Eigenschaft

Gets the value associated with the specified key.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
ReadOnly Default Property Item ( _
    key As K _
) As T
    Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.

Parameter

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

Eigenschaftswert

Typ: T
The value of the specified key.

Siehe auch

Verweis

IReadOnlyDictionary<K, T> Schnittstelle

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace