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

## JsonObject::IndexOf method




```cpp
int32_t System::Text::Json::Nodes::JsonObject::IndexOf(const String &propertyName) const
```

## See Also

* Class [String](../../../system/string/)
* Class [JsonObject](../)
* Namespace [System::Text::Json::Nodes](../../)
* Library [Aspose.PDF for C++](../../../)
