Click or drag to resize
MultiDictionaryBaseTKey, TValueAddMany Method

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

If duplicate values are not permitted, and key already has a value equal to one of values associated with it, then that value is replaced, 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 virtual void AddMany(
	TKey key,
	IEnumerable<TValue> values
)

Parameters

key
Type: TKey
The key to associate with.
values
Type: System.Collections.GenericIEnumerableTValue
A collection of values to associate with key.
See Also