Skip to main content

DocumentIterator.MoveNext() Method

Navigates to the next document element in the document model.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

public bool MoveNext()

Returns

Type Description
Boolean

True, on a successful navigation; otherwise, false.

Remarks

The MoveNext method can be used to traverse the entire document model.

If navigation is successful, the DocumentIterator.Current property contains the document element to which the DocumentIterator has moved. When the DocumentIterator reaches the end of the document, the traversing stops and the MoveNext returns false.

The following code snippets (auto-collected from DevExpress Examples) contain references to the MoveNext() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Implements

See Also