Compare Method (TaskComparer)
Compares two tasks and returns a value indicating whether one is less than, equal to, or greater than the other.
'Declaration
Public Function Compare( _
ByVal As Task, _
ByVal As Task _
) As Integer
Parameters
- x
- The first Task to compare.
- y
- The second Task to compare.
Return Value
A signed integer that indicates the relative values of x and y; less than zero: x is less than y, zero: x equals y; greater than zero: x is greater than y.