System::Collections::Concurrent::ConcurrentDictionary::TryAdd yöntemi
ConcurrentDictionary::TryAdd method
Anahtar/değer çiftini sözlüğe eklemeyi dener.
bool System::Collections::Concurrent::ConcurrentDictionary<TKey, TValue>::TryAdd(const TKey &key, const TValue &value)
| Parametre | Tür | Açıklama |
|---|---|---|
| anahtar | const TKey& | Eklenecek anahtar. |
| değer | const TValue& | Eklenecek değer. |
ReturnValue
Anahtar/değer çifti başarıyla eklendiyse doğru, aksi takdirde yanlış.
Ayrıca Bakınız
- Class ConcurrentDictionary
- Namespace System::Collections::Concurrent
- Library Aspose.Font for C++