---
title: "Aspose::Pub::Utils::Set::Add method"
url: "https://reference.aspose.com/pub/cpp/aspose.pub.utils/set/add/"
product: "Aspose.PUB for C++"
description: "Aspose::Pub::Utils::Set::Add method. Adds element to the end of list in C++."
---

## Set::Add method


Adds element to the end of list.

```cpp
void Aspose::Pub::Utils::Set<T>::Add(const T &value) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| item | const T\& | Item to add. |

## See Also

* Class [Set](../)
* Namespace [Aspose::Pub::Utils](../../)
* Library [Aspose.PUB for C++](../../../)
