pmMDA.NET

PagedSet.Union Method 

[This is preliminary documentation and subject to change.]

Performs a "union" of the two sets, where all the items in both sets are present.

public override ISet Union(
   ISet a
);

Parameters

a
A set of items.

Return Value

A new PagedSet containing the union of this set with the a.

Implements

ISet.Union

Remarks

An item is included if it is in either this set or in the a. Neither this set nor the input set are modified during the operation. The return value is a clone of this set with the extra items added in.

Exceptions

Exception Type Condition
ArgumentNullException The a is a null reference.
ArgumentException Not all items in the a are of type data object.
PagingException No data object manager is registered in the locator.
- or -
An error occurred while checking whether the a are located in this set.

See Also

PagedSet Class | PmMda.Net.Dog.Paging Namespace