Click or drag to resize
MultiDictionaryTKey, TValueAdd Method (TKey, TValue)

Adds a new value to be associated with a key. If duplicate values are permitted, this method always adds a new key-value pair to the dictionary.

If duplicate values are not permitted, and key already has a value equal to value associated with it, then that value is replaced with value, and the number of values associate with key is unchanged.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public override sealed void Add(
	TKey key,
	TValue value
)

Parameters

key
Type: TKey
The key to associate with.
value
Type: TValue
The value to associated with key.
See Also