## ConcurrentDictionary::TryAdd method


Intenta agregar un par clave/valor al diccionario.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| clave | const TKey\& | Clave a agregar. |
| value | const TValue\& | Valor a agregar. |

### ReturnValue

True si el par clave/valor se agregó correctamente, false de lo contrario.

## Ver también

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