Skip to main content
.NET Framework 4.5.2+

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.v22.1.Core.dll


public int CompareTo(
    MergeFieldName other


Name Type Description
other MergeFieldName

A MergeFieldName object to compare with the current instance.


Type Description

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