Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

DocumentIterator.MoveNext(DocumentElementType) Method

Navigates to the next document element of the specific type.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

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