## 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. |
| valor | const TValue\& | Valor a agregar. |

### ReturnValue

True si el par clave/valor se agregó correctamente, false en caso contrario.

## Ver también

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