Click or drag to resize

HashMapTK, TV Methods

The HashMapTK, TV generic type exposes the following members.

Methods
  NameDescription
Public methodAdd(KeyValuePairTKey, TValue) (Inherited from BaseMapTK, TV.)
Public methodAdd(TK, TV) (Inherited from BaseMapTK, TV.)
Public methodClear (Inherited from BaseMapTK, TV.)
Public methodContains (Inherited from BaseMapTK, TV.)
Public methodContainsKey (Inherited from BaseMapTK, TV.)
Public methodCopyTo (Inherited from BaseMapTK, TV.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from BaseMapTK, TV.)
Public methodGet(TK)
Fetches the value associated with the specified key. If no value can be found, then default(V) is returned.
(Inherited from BaseMapTK, TV.)
Public methodGet(TK, TV)
Fetches the value associated with the specified key. If no value can be found, then the defaultValue is returned.
(Inherited from BaseMapTK, TV.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from BaseMapTK, TV.)
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from BaseMapTK, TV.)
Public methodPush
Sets the given key in the dictionary. If the key already exists, then it is remapped to the new value. If a value was previously mapped it is returned.
(Inherited from BaseMapTK, TV.)
Public methodPut
Sets the given key in the dictionary. If the key already exists, then it is remapped to thenew value.
(Inherited from BaseMapTK, TV.)
Public methodPutAll (Inherited from BaseMapTK, TV.)
Public methodRemove(KeyValuePairTKey, TValue) (Inherited from BaseMapTK, TV.)
Public methodRemove(TK) (Inherited from BaseMapTK, TV.)
Public methodRemove(TK, TV)
Removes the item from the dictionary that is associated with the specified key. Returns the value that was found at that location and removed or the defaultValue.
(Inherited from BaseMapTK, TV.)
Public methodRemoveAndReturn
Removes the item from the dictionary that is associated with the specified key. The item if found is returned; if not, default(V) is returned.
(Inherited from BaseMapTK, TV.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from BaseMapTK, TV.)
Public methodTryGetValue
Tries the get value.
(Inherited from BaseMapTK, TV.)
Top
See Also