ReadOnlyDictionary<TKey, TValue> class

Contains methods and properties that handle read-only dictionary collections.

Inheritance hierarchy

System.Object
  System.MarshalByRefObject
    Microsoft.SharePoint.BusinessData.Infrastructure.Collections.Client.ReadOnlyDictionary<TKey, TValue>
      Microsoft.SharePoint.BusinessData.Infrastructure.Collections.Client.ReadOnlyNamedDictionary<TValue>

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

Syntax

'Declaration
Public Class ReadOnlyDictionary(Of TKey, TValue) _
    Inherits MarshalByRefObject _
    Implements IReadOnlyDictionary(Of TKey, TValue), IReadOnlyCollection(Of KeyValuePair(Of TKey, TValue)),  _
    IEnumerable(Of KeyValuePair(Of TKey, TValue)), IEnumerable
'Usage
Dim instance As ReadOnlyDictionary(Of TKey, TValue)
public class ReadOnlyDictionary<TKey, TValue> : MarshalByRefObject, 
    IReadOnlyDictionary<TKey, TValue>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, 
    IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable

Type parameters

  • TKey
    The type of keys in the dictionary.
  • TValue
    The type of values in the dictionary.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

ReadOnlyDictionary<TKey, TValue> members

Microsoft.SharePoint.BusinessData.Infrastructure.Collections.Client namespace