## BaseSet::TryAdd method


Ajoute un élément dans l’ensemble.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| élément | const T\& | Élément à ajouter. |

### ReturnValue

Vrai si l'élément a été ajouté, faux s'il existe déjà.

## Voir aussi

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