.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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

Declaration

public int CompareTo(
    MergeFieldName other
)
Public Function CompareTo(
    other As MergeFieldName
) As Integer

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