Performs a "union" of two sets, where all the elements
in both are present. That is, the element is included if it is in either a or b.
The return value is a Clone() of one of the sets (a if it is not nullNothingnullptra null reference (Nothing in Visual Basic)) with elements of the other set
added in. Neither of the input sets is modified by the operation.
Namespace: Iesi.Collections.GenericAssembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)
Syntax
Visual Basic |
---|
Public Shared Function Union ( _
a As ISet(Of T), _
b As ISet(Of T) _
) As ISet(Of T) |
Visual C++ |
---|
public:
static ISet<T>^ Union(
ISet<T>^ a,
ISet<T>^ b
) |
Return Value
A set containing the union of the input sets.
nullNothingnullptra null reference (Nothing in Visual Basic) if both sets are
nullNothingnullptra null reference (Nothing in Visual Basic).
See Also