---
title: "System::Text::Json::JsonElement::ObjectEnumerator::MoveNext method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json/jsonelement/objectenumerator/movenext/"
product: "Aspose.PDF for C++ API Reference"
description: "System::Text::Json::JsonElement::ObjectEnumerator::MoveNext method. Moves enumerator to the next element. If no element was referenced before, sets reference to the first element available. If container end was hit, does nothing in C++."
---

## ObjectEnumerator::MoveNext method


Moves enumerator to the next element. If no element was referenced before, sets reference to the first element available. If container end was hit, does nothing.

```cpp
bool System::Text::Json::JsonElement::ObjectEnumerator::MoveNext() override
```


### ReturnValue

True if some element is available after call, false otherwise.

## See Also

* Class [ObjectEnumerator](../)
* Class [JsonElement](../../)
* Namespace [System::Text::Json](../../../)
* Library [Aspose.PDF for C++](../../../../)
