Compare the specified x and y.
Assembly: Epic.Query.Object
Declaration Syntax
C# |
public abstract int Compare( TEntity x, TEntity y )
Return Value
0 if x and y are equivalent
for the current order criterion, a positive number if
x goes after y and a negative number
if x goes before y.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | x and y cannot be sorted by the current criterion. |