Removes all the items in collection from the set.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic int RemoveMany(
IEnumerable<T> collection
)
public:
int RemoveMany(
IEnumerable<T>^ collection
)
Parameters
- collection
- Type: System.Collections.GenericIEnumerableT
A collection of items to remove from the set.
Return Value
Type:
Int32The number of items removed from the set.
Exceptions
RemarksEquality between items is determined by the comparison instance or delegate used
to create the set.
Removing the collection takes time O(M), where M is the
number of items in collection.
See Also