Share via


ReadOnlyDictionary<TKey, TValue> class

Inheritance hierarchy

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

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class ReadOnlyDictionary(Of TKey, TValue) _
    Inherits MarshalByRefObject _
    Implements IReadOnlyDictionary(Of TKey, TValue), IReadOnlyCollection(Of KeyValuePair(Of TKey, TValue)),  _
    IEnumerable
'Usage
Dim instance As ReadOnlyDictionary(Of TKey, TValue)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ReadOnlyDictionary<TKey, TValue> : MarshalByRefObject, 
    IReadOnlyDictionary<TKey, TValue>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, 
    IEnumerable

Type parameters

  • TKey
  • TValue

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 namespace