## BaseDictionary::GetValueOrDefault(const key_t\&) const method


Devuelve el valor si se encuentra; o **Value()** de lo contrario.

```cpp
mapped_t System::Collections::Generic::BaseDictionary<Map>::GetValueOrDefault(const key_t &key) const override
```

## Ver también

* Class [BaseDictionary](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
## BaseDictionary::GetValueOrDefault(const key_t\&, const mapped_t\&) const method


Devuelve el valor si se encuentra; o **defaultValue** de lo contrario.

```cpp
mapped_t System::Collections::Generic::BaseDictionary<Map>::GetValueOrDefault(const key_t &key, const mapped_t &defaultValue) const override
```

## Ver también

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