共用方式為


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