## BaseDictionary::GetValueOrDefault(const key_t\&) const method


يرجع القيمة إذا وُجدت؛ أو **Value()** خلاف ذلك.

```cpp
mapped_t System::Collections::Generic::BaseDictionary<Map>::GetValueOrDefault(const key_t &key) const override
```

## انظر أيضًا

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


يرجع القيمة إذا وُجدت؛ أو **defaultValue** خلاف ذلك.

```cpp
mapped_t System::Collections::Generic::BaseDictionary<Map>::GetValueOrDefault(const key_t &key, const mapped_t &defaultValue) const override
```

## انظر أيضًا

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