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


Bulunursa değeri döndürür; aksi takdirde **Value()** döndürür.

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

## Ayrıca Bakınız

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


Bulunursa değeri döndürür; aksi takdirde **defaultValue** döndürür.

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

## Ayrıca Bakınız

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