Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DocumentPosition.Equality(DocumentPosition, DocumentPosition) Operator

Compares two DocumentPosition objects for equality.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v24.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 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