## IDictionary::TryGetValue method


値を検索し、見つかった場合は取得します。

```cpp
virtual bool System::Collections::Generic::IDictionary<TKey, TValue>::TryGetValue(const TKey &key, TValue &value) const =0
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| キー | const TKey\& | 検索するキー。 |
| value | TValue\& | 取得した値を格納する参照。 |

### ReturnValue

値が見つかり取得できた場合は true、そうでない場合は false。

## 参照

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