## BaseSet::TryAdd method


Fügt ein Element zum Set hinzu.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Element | const T\& | Element zum Hinzufügen. |

### ReturnValue

True, wenn das Element hinzugefügt wurde, false, wenn es bereits existiert.

## Siehe auch

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