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


Επιστρέφει την τιμή αν βρεθεί· ή **Value()** διαφορετικά.

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

## Δείτε επίσης

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


Επιστρέφει την τιμή αν βρεθεί· ή **defaultValue** διαφορετικά.

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

## Δείτε επίσης

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