Click or drag to resize
OrderedDictionaryTKey, TValueRemoveMany Method
Removes all the keys found in another collection (such as an array or List<TKey>). Each key in keyCollectionToRemove is removed from the dictionary. Keys that are not present are ignored.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public int RemoveMany(
	IEnumerable<TKey> keyCollectionToRemove
)

Parameters

keyCollectionToRemove
Type: System.Collections.GenericIEnumerableTKey
A collection of keys to remove from the dictionary.

Return Value

Type: Int32
The number of keys removed from the dictionary.
Remarks
RemoveMany takes time O(M log N), where M is the size of keyCollectionToRemove, and N is this size of this collection.
See Also