Dictionary(Of TKey, TValue) Properties
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The Dictionary(Of TKey, TValue) type exposes the following members.
| Name | Description | |
|---|---|---|
|
Comparer | Gets the IEqualityComparer(Of T) that is used to determine equality of keys for the dictionary. |
|
Count | Gets the number of key/value pairs contained in the Dictionary(Of TKey, TValue). |
|
Item | Gets or sets the value associated with the specified key. |
|
Keys | Gets a collection containing the keys in the Dictionary(Of TKey, TValue). |
|
Values | Gets a collection containing the values in the Dictionary(Of TKey, TValue). |
| Name | Description | |
|---|---|---|
|
ICollection(Of KeyValuePair(Of TKey, TValue)).IsReadOnly | Gets a value indicating whether the dictionary is read-only. |
|
ICollection.IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). |
|
ICollection.SyncRoot | Gets an object that can be used to synchronize access to the ICollection. |
|
IDictionary.IsFixedSize | Gets a value indicating whether the IDictionary has a fixed size. |
|
IDictionary.IsReadOnly | Gets a value indicating whether the IDictionary is read-only. |
|
IDictionary.Item | Gets or sets the value with the specified key. |
|
IDictionary(Of TKey, TValue).Keys | Gets an ICollection(Of T) containing the keys of the IDictionary(Of TKey, TValue). |
|
IDictionary.Keys | Gets an ICollection containing the keys of the IDictionary. |
|
IDictionary(Of TKey, TValue).Values | Gets an ICollection(Of T) containing the values in the IDictionary(Of TKey, TValue). |
|
IDictionary.Values | Gets an ICollection containing the values in the IDictionary. |
|
IReadOnlyDictionary(Of TKey, TValue).Keys | Gets a collection containing the keys of the IReadOnlyDictionary(Of TKey, TValue). |
|
IReadOnlyDictionary(Of TKey, TValue).Values | Gets a collection containing the values of the IReadOnlyDictionary(Of TKey, TValue). |
Show: