Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Class: SortDescending
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public int Compare( object x, object y );
Public Function Compare( ByVal x As Object, ByVal y As Object ) As Integer
x
The first object to compare. This object can be cast into an ItemClass object.
y
The second object to compare. This object can be cast into an ItemClass object.
The collating sequence. Return a value greater than zero to indicate that x is greater than y, equal to 0 to indicate that x and y are equal, a value less than zero to indicate x is less than y.
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
See Also SortDescending Class | Classes | SftTree/NET 2.0