## ISet::UnionWith method


Adds elements from specified collection that are not present in current set yet.

```cpp
virtual void System::Collections::Generic::ISet<T>::UnionWith(IEnumerablePtr other)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| other | IEnumerablePtr | Collection to add eleements from. |

## See Also

* Typedef [IEnumerablePtr](../ienumerableptr/)
* Class [ISet](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
