| MultiValueDictionaryTKey, TValue Methods |
The MultiValueDictionaryTKey, TValue generic type exposes the following members.
| Name | Description | |
|---|---|---|
| Add(TKey, TValue) | (Inherited from DictionaryTKey, HashSetTValue.) | |
| Add(TKey, TValue) |
Adds the specified value under the specified key
| |
| AddRange |
Adds the range of values under the key specified.
| |
| Clear | (Inherited from DictionaryTKey, HashSetTValue.) | |
| ContainsKey | (Inherited from DictionaryTKey, HashSetTValue.) | |
| ContainsValue(TValue) | (Inherited from DictionaryTKey, HashSetTValue.) | |
| 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 DictionaryTKey, HashSetTValue.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetObjectData |
Gets the object data.
(Overrides DictionaryTKey, TValueGetObjectData(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 DictionaryTKey, HashSetTValue.) | |
| Remove(TKey) | (Inherited from DictionaryTKey, HashSetTValue.) | |
| 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 DictionaryTKey, HashSetTValue.) |
| Name | Description | |
|---|---|---|
| ICollectionKeyValuePairTKey, TValueAdd | (Inherited from DictionaryTKey, HashSetTValue.) | |
| IDictionaryAdd | (Inherited from DictionaryTKey, HashSetTValue.) | |
| ICollectionKeyValuePairTKey, TValueContains | (Inherited from DictionaryTKey, HashSetTValue.) | |
| IDictionaryContains | (Inherited from DictionaryTKey, HashSetTValue.) | |
| ICollectionKeyValuePairTKey, TValueCopyTo | (Inherited from DictionaryTKey, HashSetTValue.) | |
| ICollectionCopyTo | (Inherited from DictionaryTKey, HashSetTValue.) | |
| IEnumerableKeyValuePairTKey, TValueGetEnumerator | (Inherited from DictionaryTKey, HashSetTValue.) | |
| IEnumerableGetEnumerator | (Inherited from DictionaryTKey, HashSetTValue.) | |
| IDictionaryGetEnumerator | (Inherited from DictionaryTKey, HashSetTValue.) | |
| ICollectionKeyValuePairTKey, TValueRemove | (Inherited from DictionaryTKey, HashSetTValue.) | |
| IDictionaryRemove | (Inherited from DictionaryTKey, HashSetTValue.) |