Metodo System::Collections::Concurrent::ConcurrentDictionary::TryAdd
ConcurrentDictionary::TryAdd method
Prova ad aggiungere una coppia chiave/valore nel dizionario.
bool System::Collections::Concurrent::ConcurrentDictionary<TKey, TValue>::TryAdd(const TKey &key, const TValue &value)
| Parametro | Tipo | Descrizione |
|---|---|---|
| chiave | const TKey& | Chiave da aggiungere. |
| valore | const TValue& | Valore da aggiungere. |
ReturnValue
True se la coppia chiave/valore è stata aggiunta con successo, false altrimenti.
Vedi anche
- Class ConcurrentDictionary
- Namespace System::Collections::Concurrent
- Library Aspose.Font for C++