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

## JsonObject::SetAt(int32_t, String, System::SharedPtr\<JsonNode\>) method




```cpp
void System::Text::Json::Nodes::JsonObject::SetAt(int32_t index, String propertyName, System::SharedPtr<JsonNode> value)
```

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [JsonObject](../)
* Namespace [System::Text::Json::Nodes](../../)
* Library [Aspose.PDF for C++](../../../)
## JsonObject::SetAt(int32_t, System::SharedPtr\<JsonNode\>) method




```cpp
void System::Text::Json::Nodes::JsonObject::SetAt(int32_t index, System::SharedPtr<JsonNode> value)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [JsonObject](../)
* Namespace [System::Text::Json::Nodes](../../)
* Library [Aspose.PDF for C++](../../../)
