Share via


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

Gets the item that exists at a specified key.

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

Syntax

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

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

Parameters

  • key
    Type: TKey

    The specified key.

Property Value

Type: TValue

Implements

IReadOnlyDictionary<TKey, TValue>.Item[TKey]

See Also

Reference

ReadOnlyDictionary<TKey, TValue> Class

ReadOnlyDictionary<TKey, TValue> Members

Item Overload

Microsoft.SharePoint.BusinessData.Infrastructure.Collections.Client Namespace