Skip to main content

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.v23.2.Core.dll

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

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