## BaseSet::TryAdd method


Menambahkan elemen ke dalam himpunan.

```cpp
bool System::Collections::Generic::BaseSet<T, SET_T>::TryAdd(const T &item)
```


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| item | const T\& | Item untuk ditambahkan. |

### ReturnValue

Benar jika elemen ditambahkan, salah jika sudah ada.

## Lihat Juga

* Class [BaseSet](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
