Click or drag to resize
MultiDictionaryBaseTKey, TValueReplaceMany Method
Replaces all values associated with key with a new collection of values. If the collection does not permit duplicate values, and values has duplicate items, then only the last of duplicates is added.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public bool ReplaceMany(
	TKey key,
	IEnumerable<TValue> values
)

Parameters

key
Type: TKey
The key to associate with.
values
Type: System.Collections.GenericIEnumerableTValue
The new values to be associated with key.

Return Value

Type: Boolean
Returns true if some values were removed. Returns false if key was not present in the dictionary before Replace was called.
See Also