MultiValueDictionary<TKey, TValue> Methods |
The MultiValueDictionary< TKey, TValue> generic type exposes the following members.
Name | Description | |
---|---|---|
Add(TKey, TValue) | (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
Add(TKey, TValue) |
Adds the specified value under the specified key
| |
AddRange |
Adds the range of values under the key specified.
| |
Clear | (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
ContainsKey | (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
ContainsValue(TValue) | (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
ContainsValue(TKey, TValue) |
Determines whether this dictionary contains the specified value for the specified key
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator | (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetObjectData |
Gets the object data.
(Overrides Dictionary<TKey, TValue>.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValues |
Gets the values for the key specified. This method is useful if you want to avoid an exception for key value retrieval and you can't use TryGetValue
(e.g. in lambdas)
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Merge |
Merges the specified multivaluedictionary into this instance.
| |
OnDeserialization | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
Remove(TKey) | (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
Remove(TKey, TValue) |
Removes the specified value for the specified key. It will leave the key in the dictionary.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetValue | (Inherited from Dictionary<TKey, HashSet<TValue>>.) |
Name | Description | |
---|---|---|
ICollection<KeyValuePair<TKey, TValue>>.Add | (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
IDictionary.Add | (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
ICollection<KeyValuePair<TKey, TValue>>.Contains | (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
IDictionary.Contains | (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
ICollection<KeyValuePair<TKey, TValue>>.CopyTo | (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
ICollection.CopyTo | (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
IEnumerable<KeyValuePair<TKey, TValue>>.GetEnumerator | (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
IEnumerable.GetEnumerator | (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
IDictionary.GetEnumerator | (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
ICollection<KeyValuePair<TKey, TValue>>.Remove | (Inherited from Dictionary<TKey, HashSet<TValue>>.) | |
IDictionary.Remove | (Inherited from Dictionary<TKey, HashSet<TValue>>.) |