---
title: "System::Text::Json::Nodes::JsonValueOfElement::TryGetValue method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json.nodes/jsonvalueofelement/trygetvalue/"
product: "Aspose.PDF for C++ API Reference"
description: "How to use TryGetValue method of System::Text::Json::Nodes::JsonValueOfElement class in C++."
---

## JsonValueOfElement::TryGetValue method




```cpp
template<typename TypeToConvert> bool System::Text::Json::Nodes::JsonValueOfElement::TryGetValue(TypeToConvert &value)
```

## See Also

* Class [JsonValueOfElement](../)
* Namespace [System::Text::Json::Nodes](../../)
* Library [Aspose.PDF for C++](../../../)
