ReadOnlyDictionary<TKey, TValue> Class

Represents a read-only collection of keys and values.

Inheritance Hierarchy

  Microsoft.SharePoint.Taxonomy.Generic.ReadOnlyDictionary<TKey, TValue>

Namespace:  Microsoft.SharePoint.Taxonomy.Generic
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)


<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class ReadOnlyDictionary(Of TKey, TValue) _
    Implements IEnumerable(Of KeyValuePair(Of TKey, TValue)),  _
Dim instance As ReadOnlyDictionary(Of TKey, TValue)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class ReadOnlyDictionary<TKey, TValue> : IEnumerable<KeyValuePair<TKey, TValue>>, 

Type Parameters

  • TKey
    The type of the keys in the dictionary
  • TValue
    The type of the 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


ReadOnlyDictionary<TKey, TValue> Members

Microsoft.SharePoint.Taxonomy.Generic Namespace