Share via


IReadOnlyDictionary<K, T>.Item Property

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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

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

Property Value

Type: T
The value of the specified key.

See Also

Reference

IReadOnlyDictionary<K, T> Interface

Microsoft.SqlServer.Management.Sdk.Sfc Namespace