System::Collections::Concurrent::ConcurrentDictionary::TryAdd method
ConcurrentDictionary::TryAdd method
Sözlüğe anahtar/değer çiftini eklemeye çalışır.
bool System::Collections::Concurrent::ConcurrentDictionary<TKey, TValue>::TryAdd(const TKey &key, const TValue &value)
| Parameter | Type | Açıklama |
|---|---|---|
| anahtar | const TKey& | Eklenecek anahtar. |
| değer | const TValue& | Eklenecek değer. |
ReturnValue
Anahtar/değer çifti başarıyla eklendiyse true, aksi takdirde false.
Ayrıca Bakınız
- Class ConcurrentDictionary
- Namespace System::Collections::Concurrent
- Library Aspose.Page for C++