SortedColumnList Compare Method EasyQuery ASP.NET API Reference
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

Namespace: Korzh.EasyQuery
Assembly: Korzh.EasyQuery.NET40 (in Korzh.EasyQuery.NET40.dll) Version: 3.7.1.37
Syntax

public int Compare(
	Column x,
	Column y
)

Return Value

Type: OnlineInt32
Value Condition Less than zero x is less than y. Zero x equals y. Greater than zero x is greater than y.

Implements

OnlineIComparer T  Compare(T, T)
Exceptions

ExceptionCondition
OnlineSystem ArgumentExceptionNeither x nor y implements the OnlineIComparable interface.-or- x and y are of different types and neither one can handle comparisons with the other.
See Also