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

## JsonProperty::NameEquals(ReadOnlySpan\<char16_t\>) method




```cpp
bool System::Text::Json::JsonProperty::NameEquals(ReadOnlySpan<char16_t> text)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [JsonProperty](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## JsonProperty::NameEquals(ReadOnlySpan\<uint8_t\>) method




```cpp
bool System::Text::Json::JsonProperty::NameEquals(ReadOnlySpan<uint8_t> utf8Text)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [JsonProperty](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## JsonProperty::NameEquals(String) method




```cpp
bool System::Text::Json::JsonProperty::NameEquals(String text)
```

## See Also

* Class [String](../../../system/string/)
* Class [JsonProperty](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
