Partilhar via


Propriedade do RDL IReadOnlyDictionary<K, T>.Item

Gets the value associated with the specified key.

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

Sintaxe

'Declaração
ReadOnly Default Property Item ( _
    key As K _
) As T
    Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

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

Valor da propriedade

Tipo: T
The value of the specified key.

Consulte também

Referência

IReadOnlyDictionary<K, T> Interface

Namespace Microsoft.SqlServer.Management.Sdk.Sfc