Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

MultiDictionaryBase<(Of <(<'TKey, TValue>)>)>..::..RemoveMany Method (IEnumerable<(Of <(<'TKey>)>)>)

Remove all of the keys (and any associated values) in a collection of keys. If a key is not present in the dictionary, nothing happens.

Namespace:  Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax


public int RemoveMany(
	IEnumerable<TKey> keyCollection
)
Public Function RemoveMany ( _
	keyCollection As IEnumerable(Of TKey) _
) As Integer
public:
int^ RemoveMany(
	IEnumerable<TKey>^ keyCollection
)

Parameters

keyCollection
Type: IEnumerable<(Of <(<'TKey>)>)>
A collection of key values to remove.

Return Value

The number of keys from the collection that were present and removed.