## BaseSet::TryAdd method


Προσθέτει στοιχείο στο σύνολο.

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


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| στοιχείο | const T\& | Αντικείμενο προς προσθήκη. |

### ReturnValue

Αληθές αν το στοιχείο προστέθηκε, ψευδές αν υπάρχει ήδη.

## Δείτε επίσης

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