OrderedSetTAddMany Method |
Adds all the items in collection to the set. If the set already contains an item equal to
one of the items in collection, that item will be replaced.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic void AddMany(
IEnumerable<T> collection
)
public:
void AddMany(
IEnumerable<T>^ collection
)
Parameters
- collection
- Type: System.Collections.GenericIEnumerableT
A collection of items to add to the set.
RemarksEquality between items is determined by the comparison instance or delegate used
to create the set.
Adding the collection takes time O(M log N), where N is the number of items in the set, and M is the
number of items in collection.
See Also