MultiValueDictionaryTKey, TValue Methods |
The MultiValueDictionaryTKey, TValue generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | Add(TKey, TValue) | Adds the specified key and value to the dictionary. (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 | Removes all keys and values from the DictionaryTKey, TValue. (Inherited from DictionaryTKey, HashSetTValue.) |
![]() | ContainsKey | Determines whether the DictionaryTKey, TValue contains the specified key. (Inherited from DictionaryTKey, HashSetTValue.) |
![]() | ContainsValue(TValue) | Determines whether the DictionaryTKey, TValue contains a specific value. (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 | Returns an enumerator that iterates through the DictionaryTKey, TValue. (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) | Removes the value with the specified key from the DictionaryTKey, TValue. (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 | Gets the value associated with the specified key. (Inherited from DictionaryTKey, HashSetTValue.) |
Name | Description | |
---|---|---|
![]() ![]() | ICollectionKeyValuePairTKey, TValueAdd | Adds the specified value to the ICollectionT with the specified key. (Inherited from DictionaryTKey, HashSetTValue.) |
![]() ![]() | IDictionaryAdd | Adds the specified key and value to the dictionary. (Inherited from DictionaryTKey, HashSetTValue.) |
![]() ![]() | ICollectionKeyValuePairTKey, TValueContains | Determines whether the ICollectionT contains a specific key and value. (Inherited from DictionaryTKey, HashSetTValue.) |
![]() ![]() | IDictionaryContains | Determines whether the IDictionary contains an element with the specified key. (Inherited from DictionaryTKey, HashSetTValue.) |
![]() ![]() | ICollectionKeyValuePairTKey, TValueCopyTo | Copies the elements of the ICollectionT to an array of type KeyValuePairTKey, TValue, starting at the specified array index. (Inherited from DictionaryTKey, HashSetTValue.) |
![]() ![]() | ICollectionCopyTo | Copies the elements of the ICollectionT to an array, starting at the specified array index. (Inherited from DictionaryTKey, HashSetTValue.) |
![]() ![]() | IEnumerableKeyValuePairTKey, TValueGetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from DictionaryTKey, HashSetTValue.) |
![]() ![]() | IEnumerableGetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from DictionaryTKey, HashSetTValue.) |
![]() ![]() | IDictionaryGetEnumerator | Returns an IDictionaryEnumerator for the IDictionary. (Inherited from DictionaryTKey, HashSetTValue.) |
![]() ![]() | ICollectionKeyValuePairTKey, TValueRemove | Removes a key and value from the dictionary. (Inherited from DictionaryTKey, HashSetTValue.) |
![]() ![]() | IDictionaryRemove | Removes the element with the specified key from the IDictionary. (Inherited from DictionaryTKey, HashSetTValue.) |