Skip to main content

DocumentIterator.MoveNext(DocumentElementType) Method

Navigates to the next document element of the specific type.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v23.2.Core.dll

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

Declaration

public bool MoveNext(
    DocumentElementType elementType
)

Parameters

Name Type Description
elementType DocumentElementType

A DocumentElementType enumeration value that sets the element type to traverse.

Returns

Type Description
Boolean

True, on a successful navigation; otherwise, false.

Remarks

If navigation is successful, the DocumentIterator.Current property contains the document element to which the DocumentIterator has moved.

When the DocumentIterator reaches the last element of a stated type, the traversing stops, and the MoveNext method returns false.

See Also