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

## JsonArray::IndexOf method




```cpp
int32_t System::Text::Json::Nodes::JsonArray::IndexOf(const System::SharedPtr<JsonNode> &item) const override
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [JsonArray](../)
* Namespace [System::Text::Json::Nodes](../../)
* Library [Aspose.PDF for C++](../../../)
