Dictionary<TKey, TValue> Properties
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The Dictionary<TKey, TValue> type exposes the following members.
Properties
Name | Description | |
---|---|---|
Comparer | Gets the IEqualityComparer<T> that is used to determine equality of keys for the dictionary. | |
Count | Gets the number of key/value pairs contained in the Dictionary<TKey, TValue>. | |
Item | Gets or sets the value associated with the specified key. | |
Keys | Gets a collection containing the keys in the Dictionary<TKey, TValue>. | |
Values | Gets a collection containing the values in the Dictionary<TKey, TValue>. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection<KeyValuePair<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<TKey, TValue>.Keys | Gets an ICollection<T> containing the keys of the IDictionary<TKey, TValue>. | |
IDictionary.Keys | Gets an ICollection containing the keys of the IDictionary. | |
IDictionary<TKey, TValue>.Values | Gets an ICollection<T> containing the values in the IDictionary<TKey, TValue>. | |
IDictionary.Values | Gets an ICollection containing the values in the IDictionary. |
Top