## IDictionary::GetValueOrDefault(const TKey\&) const method


Restituisce il valore se trovato; altrimenti **Value()**.

```cpp
virtual TValue System::Collections::Generic::IDictionary<TKey, TValue>::GetValueOrDefault(const TKey &key) const
```

## Vedi anche

* Class [IDictionary](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
## IDictionary::GetValueOrDefault(const TKey\&, const TValue\&) const method


Restituisce il valore se trovato; altrimenti **defaultValue**.

```cpp
virtual TValue System::Collections::Generic::IDictionary<TKey, TValue>::GetValueOrDefault(const TKey &key, const TValue &defaultValue) const
```

## Vedi anche

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