---
title: "System::Text::Json::JsonElement::GetProperty method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json/jsonelement/getproperty/"
product: "Aspose.PDF for C++ API Reference"
description: "How to use GetProperty method of System::Text::Json::JsonElement class in C++."
---

## JsonElement::GetProperty(ReadOnlySpan\<char16_t\>) method




```cpp
JsonElement System::Text::Json::JsonElement::GetProperty(ReadOnlySpan<char16_t> propertyName)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [JsonElement](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## JsonElement::GetProperty(ReadOnlySpan\<uint8_t\>) method




```cpp
JsonElement System::Text::Json::JsonElement::GetProperty(ReadOnlySpan<uint8_t> utf8PropertyName)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [JsonElement](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## JsonElement::GetProperty(String) method




```cpp
JsonElement System::Text::Json::JsonElement::GetProperty(String propertyName)
```

## See Also

* Class [String](../../../system/string/)
* Class [JsonElement](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
