## ConcurrentDictionary::TryAdd method


يحاول إضافة زوج المفتاح/القيمة إلى القاموس.

```cpp
bool System::Collections::Concurrent::ConcurrentDictionary<TKey, TValue>::TryAdd(const TKey &key, const TValue &value)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| المفتاح | const TKey\& | المفتاح للإضافة. |
| value | const TValue\& | القيمة للإضافة. |

### ReturnValue

صحيح إذا تم إضافة زوج المفتاح/القيمة بنجاح، خطأ خلاف ذلك.

## انظر أيضًا

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