## 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.Font 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.Font for C++](../../../)
