Dictionary<TKey, TValue> Properties

The Dictionary<TKey, TValue> type exposes the following members.

  Name Description
Public property Comparer Gets the IEqualityComparer<T> that is used to determine equality of keys for the dictionary.
Public property Count Gets the number of key/value pairs contained in the Dictionary<TKey, TValue>.
Public property Item Gets or sets the value associated with the specified key.
Public property Keys Gets a collection containing the keys in the Dictionary<TKey, TValue>.
Public property Values Gets a collection containing the values in the Dictionary<TKey, TValue>.
Top

  Name Description
Explicit interface implemetation Private property ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly Gets a value indicating whether the dictionary is read-only.
Explicit interface implemetation Private property ICollection.IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe).
Explicit interface implemetation Private property ICollection.SyncRoot Gets an object that can be used to synchronize access to the ICollection.
Explicit interface implemetation Private property IDictionary.IsFixedSize Gets a value indicating whether the IDictionary has a fixed size.
Explicit interface implemetation Private property IDictionary.IsReadOnly Gets a value indicating whether the IDictionary is read-only.
Explicit interface implemetation Private property IDictionary.Item Gets or sets the value with the specified key.
Explicit interface implemetation Private property IDictionary<TKey, TValue>.Keys Gets an ICollection<T> containing the keys of the IDictionary<TKey, TValue>.
Explicit interface implemetation Private property IDictionary.Keys Gets an ICollection containing the keys of the IDictionary.
Explicit interface implemetation Private property IDictionary<TKey, TValue>.Values Gets an ICollection<T> containing the values in the IDictionary<TKey, TValue>.
Explicit interface implemetation Private property IDictionary.Values Gets an ICollection containing the values in the IDictionary.
Explicit interface implemetation Private property IReadOnlyDictionary<TKey, TValue>.Keys Gets a collection containing the keys of the IReadOnlyDictionary<TKey, TValue>.
Explicit interface implemetation Private property IReadOnlyDictionary<TKey, TValue>.Values Gets a collection containing the values of the IReadOnlyDictionary<TKey, TValue>.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft