[]
        
(Showing Draft Content)

C1.GanttView.TaskComparer.Compare

Compare Method

Compare(Task, Task)

Compares two tasks and returns a value indicating whether one is less than, equal to, or greater than the other.

Declaration
public int Compare(Task x, Task y)
Parameters
Type Name Description
Task x

The first Task to compare.

Task y

The second Task to compare.

Returns
Type Description
int

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.

Implements