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


Renvoie la valeur si trouvée ; ou **Value()** sinon.

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

## Voir aussi

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


Renvoie la valeur si trouvée ; ou **defaultValue** sinon.

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

## Voir aussi

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