Method CompareTo
CompareTo(Term)
Compares two terms, returning a negative integer if this term belongs before the argument, zero if this term is equal to the argument, and a positive integer if this term belongs after the argument.
The ordering of terms is first by field, then by text.
Declaration
public int CompareTo(Term other)
Parameters
Type | Name | Description |
---|---|---|
Term | other |
Returns
Type | Description |
---|---|
System.Int32 |