Constructors
-
Read
Only Initializes a new instance of the ReadOnlyDictionary`2 class that is a wrapper around the specified dictionary.Dictionary`2(IDictionary<`0, `1>)
Methods
-
Contains
Key(`0) sealed Determines whether the dictionary contains an element that has the specified key. -
Get
Enumerator() sealed Returns an enumerator that iterates through the ReadOnlyDictionary`2. -
Try
Get sealed Retrieves the value that is associated with the specified key.Value(`0, `1&)
Properties
- Count sealed Gets the number of items in the dictionary.
- Dictionary protected Gets the dictionary that is wrapped by this ReadOnlyDictionary`2 object.
- Item sealed
- Keys Gets a key collection that contains the keys of the dictionary.
-
System.
Collections. privatesealedGeneric. ICollection<System. Collections. Generic. Key Value Pair<TKey, TValue>>. Is Read Only -
System.
Collections. privatesealedGeneric. IDictionary<TKey, TValue>. Item -
System.
Collections. privatesealedGeneric. IDictionary<TKey, TValue>. Keys -
System.
Collections. privatesealedGeneric. IDictionary<TKey, TValue>. Values -
System.
Collections. privatesealedGeneric. IRead Only Dictionary<TKey, TValue>. Keys -
System.
Collections. privatesealedGeneric. IRead Only Dictionary<TKey, TValue>. Values -
System.
Collections. privatesealed Gets a value that indicates whether access to the dictionary is synchronized (thread safe).ICollection. Is Synchronized -
System.
Collections. privatesealed Gets an object that can be used to synchronize access to the dictionary.ICollection. Sync Root -
System.
Collections. privatesealed Gets a value that indicates whether the dictionary has a fixed size.IDictionary. Is Fixed Size -
System.
Collections. privatesealed Gets a value that indicates whether the dictionary is read-only.IDictionary. Is Read Only -
System.
Collections. privatesealedIDictionary. Item -
System.
Collections. privatesealed Gets a collection that contains the keys of the dictionary.IDictionary. Keys -
System.
Collections. privatesealed Gets a collection that contains the values in the dictionary.IDictionary. Values - Values Gets a collection that contains the values in the dictionary.