
## CompareTo {#compareto}

IComparable interface implementation. Compares this instance to the specified Baseline object.

**Returns:** returns -1 if this instance is less than the specified object, 1 if this instance is greater than the specified object; otherwise returns 0

```cpp
CompareTo(System::SharedPtr< TaskBaseline > other)
```

| Parameter | Description |
| --- | --- |
| other | the specified Baseline object to compare this instance to. |

