System::Collections::Concurrent::ConcurrentDictionary::TryAdd-methode
ConcurrentDictionary::TryAdd method
Probeert een sleutel/waarde-paar toe te voegen aan de dictionary.
bool System::Collections::Concurrent::ConcurrentDictionary<TKey, TValue>::TryAdd(const TKey &key, const TValue &value)
| Parameter | Type | Beschrijving |
|---|---|---|
| sleutel | const TKey& | Sleutel om toe te voegen. |
| value | const TValue& | Waarde om toe te voegen. |
ReturnValue
True als het sleutel/waarde-paar succesvol werd toegevoegd, false anders.
Zie ook
- Class ConcurrentDictionary
- Namespace System::Collections::Concurrent
- Library Aspose.Page for C++