Click or drag to resize

MultiValueDictionaryTKey, TValue Methods

The MultiValueDictionaryTKey, TValue generic type exposes the following members.

Methods
  NameDescription
Public methodAdd(TKey, TValue)
Adds the specified key and value to the dictionary.
(Inherited from DictionaryTKey, HashSetTValue.)
Public methodAdd(TKey, TValue)
Adds the specified value under the specified key
Public methodAddRange
Adds the range of values under the key specified.
Public methodClear (Inherited from DictionaryTKey, HashSetTValue.)
Public methodContainsKey (Inherited from DictionaryTKey, HashSetTValue.)
Public methodContainsValue(TValue) (Inherited from DictionaryTKey, HashSetTValue.)
Public methodContainsValue(TKey, TValue)
Determines whether this dictionary contains the specified value for the specified key
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from DictionaryTKey, HashSetTValue.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
Gets the object data.
(Overrides DictionaryTKey, TValueGetObjectData(SerializationInfo, StreamingContext).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValues
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)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMerge
Merges the specified multivaluedictionary into this instance.
Public methodOnDeserialization
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from DictionaryTKey, HashSetTValue.)
Public methodRemove(TKey) (Inherited from DictionaryTKey, HashSetTValue.)
Public methodRemove(TKey, TValue)
Removes the specified value for the specified key. It will leave the key in the dictionary.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified key.
(Inherited from DictionaryTKey, HashSetTValue.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueAdd (Inherited from DictionaryTKey, HashSetTValue.)
Explicit interface implementationPrivate methodIDictionaryAdd
Adds the specified key and value to the dictionary.
(Inherited from DictionaryTKey, HashSetTValue.)
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueContains (Inherited from DictionaryTKey, HashSetTValue.)
Explicit interface implementationPrivate methodIDictionaryContains
Determines whether the IDictionary contains an element with the specified key.
(Inherited from DictionaryTKey, HashSetTValue.)
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueCopyTo (Inherited from DictionaryTKey, HashSetTValue.)
Explicit interface implementationPrivate methodICollectionCopyTo (Inherited from DictionaryTKey, HashSetTValue.)
Explicit interface implementationPrivate methodIEnumerableKeyValuePairTKey, TValueGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from DictionaryTKey, HashSetTValue.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from DictionaryTKey, HashSetTValue.)
Explicit interface implementationPrivate methodIDictionaryGetEnumerator (Inherited from DictionaryTKey, HashSetTValue.)
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueRemove
Removes a key and value from the dictionary.
(Inherited from DictionaryTKey, HashSetTValue.)
Explicit interface implementationPrivate methodIDictionaryRemove
Removes the element with the specified key from the IDictionary.
(Inherited from DictionaryTKey, HashSetTValue.)
Top
See Also