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

DocumentPosition.LessThanOrEqual(DocumentPosition, DocumentPosition) Operator

Evaluates two DocumentPosition instances to determine whether one instance is less than or equal to the other.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

public static bool operator <=(DocumentPosition pos1, DocumentPosition pos2)

Parameters

Name Type Description
pos1 DocumentPosition

The first DocumentPosition instance to compare.

pos2 DocumentPosition

The second DocumentPosition instance to compare.

Returns

Type Description
Boolean

true, if the first DocumentPosition object is less than or equal to the second object; otherwise, false.

See Also