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

MergeFieldName.CompareTo(MergeFieldName) Method

Compares the current field name with another and returns an integer that indicates whether the current name is before another name, after it or in the same position in the sort order.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

#Declaration

public int CompareTo(
    MergeFieldName other
)

#Parameters

Name Type Description
other MergeFieldName

A MergeFieldName object to compare with the current instance.

#Returns

Type Description
Int32

A value that indicates the relative order of the field names. If the value is less than zero, the current name precedes another. If the value is zero, the names are equal. If the value is more than zero, the current name follows another.

See Also