Skip to main content

DocumentPosition.Equality(DocumentPosition, DocumentPosition) Operator

Compares two DocumentPosition objects for equality.

Namespace: DevExpress.XtraRichEdit.API.Native

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

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

Declaration

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

Parameters

Name Type Description
pos1 DocumentPosition

The first DocumentPosition object to compare.

pos2 DocumentPosition

The second DocumentPosition object to compare.

Returns

Type Description
Boolean

True, if two DocumentPosition objects are equal; otherwise, false.

See Also