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


Mengembalikan nilai jika ditemukan; atau **Value()** sebaliknya.

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

## Lihat Juga

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


Mengembalikan nilai jika ditemukan; atau **defaultValue** jika tidak.

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

## Lihat Juga

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