SuggestionBase.CompareTo(SuggestionBase) 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.XtraSpellChecker
Assembly: DevExpress.SpellChecker.v24.1.Core.dll
NuGet Package: DevExpress.SpellChecker.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
other | SuggestionBase | A SuggestionBase descendant 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