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


Gibt den Wert zurück, falls gefunden; sonst **Value()**.

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

## Siehe auch

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


Gibt den Wert zurück, falls gefunden; sonst **defaultValue**.

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

## Siehe auch

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