Share via


IReadOnlyDictionary<TKey, TValue>.Item Property (TKey)

Gets the item that exists at a specified key.

Namespace:  Microsoft.BusinessData.Infrastructure.Collections
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
ReadOnly Default Property Item ( _
    key As TKey _
) As TValue
    Get
'Usage
Dim instance As IReadOnlyDictionary
Dim key As TKey
Dim value As TValue

value = instance(key)
TValue this[
    TKey key
] { get; }

Parameters

  • key
    Type: TKey

    The specified key.

Property Value

Type: TValue

See Also

Reference

IReadOnlyDictionary<TKey, TValue> Interface

IReadOnlyDictionary<TKey, TValue> Members

Item Overload

Microsoft.BusinessData.Infrastructure.Collections Namespace