ReadOnlyDictionary<TKey, TValue> Class
Represents a read-only collection of keys and values.
Inheritance Hierarchy
System.Object
Microsoft.SharePoint.Taxonomy.Generic.ReadOnlyDictionary<TKey, TValue>
Namespace: Microsoft.SharePoint.Taxonomy.Generic
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class ReadOnlyDictionary(Of TKey, TValue) _
Implements IEnumerable(Of KeyValuePair(Of TKey, TValue)), _
IEnumerable
'Usage
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>>,
IEnumerable
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.