ReadOnlyDictionary(Of TKey, TValue) Properties
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The ReadOnlyDictionary(Of TKey, TValue) type exposes the following members.
| Name | Description | |
|---|---|---|
|
Count | Gets the number of items in the dictionary. |
|
Dictionary | Gets the dictionary wrapped by this ReadOnlyDictionary(Of TKey, TValue) object. |
|
Item | Gets the element that has the specified key. |
|
Keys | Gets a key collection that contains the keys of the dictionary. |
|
Values | Gets a collection that contains the values in the dictionary. |
| Name | Description | |
|---|---|---|
|
ICollection(Of KeyValuePair(Of TKey, TValue)).IsReadOnly | Gets a value that indicates whether the dictionary is read-only. |
|
ICollection.IsSynchronized | Gets a value that indicates whether access to the dictionary is synchronized (thread safe). |
|
ICollection.SyncRoot | Gets an object that can be used to synchronize access to the dictionary. |
|
IDictionary.IsFixedSize | Gets a value that indicates whether the dictionary has a fixed size. |
|
IDictionary.IsReadOnly | Gets a value that indicates whether the dictionary is read-only. |
|
IDictionary(Of TKey, TValue).Item | Gets the element with the specified key. |
|
IDictionary.Item | Gets the element that has the specified key. |
|
IDictionary(Of TKey, TValue).Keys | Gets a collection that contains the keys of the dictionary. |
|
IDictionary.Keys | Gets a collection that contains the keys of the dictionary. |
|
IDictionary(Of TKey, TValue).Values | Gets a collection that contains the values in the dictionary. |
|
IDictionary.Values | Gets a collection that contains the values in the dictionary. |
|
IReadOnlyDictionary(Of TKey, TValue).Keys | Gets an enumerable collection that contains the keys in the read-only dictionary. |
|
IReadOnlyDictionary(Of TKey, TValue).Values | Gets an enumerable collection that contains the values in the read-only dictionary. |
Show: