System::Collections::Generic::BaseSet::TryAdd طريقة
BaseSet::TryAdd method
يضيف عنصرًا إلى المجموعة.
bool System::Collections::Generic::BaseSet<T, SET_T>::TryAdd(const T &item)
| معامل | نوع | الوصف |
|---|---|---|
| item | const T& | العنصر للإضافة. |
ReturnValue
صحيح إذا تم إضافة العنصر، خطأ إذا كان موجودًا بالفعل.
انظر أيضًا
- Class BaseSet
- Namespace System::Collections::Generic
- Library Aspose.Font for C++