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