Share via


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

Gets the key/value pair stored at a specific index.

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 ( _
    index As Integer _
) As KeyValuePair(Of TKey, TValue)
    Get
'Usage
Dim instance As ReadOnlyDictionary
Dim index As Integer
Dim value As KeyValuePair(Of TKey, TValue)

value = instance(index)
public virtual KeyValuePair<TKey, TValue> this[
    int index
] { get; }

Parameters

Property Value

Type: System.Collections.Generic.KeyValuePair<TKey, TValue>
The key/value pair.

Implements

IReadOnlyCollection<T>.Item[Int32]

See Also

Reference

ReadOnlyDictionary<TKey, TValue> Class

ReadOnlyDictionary<TKey, TValue> Members

Item Overload

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