'Declaration
Public Overrides Function Compare( _ ByVal x As Appointment, _ ByVal y As Appointment _ ) As Integer
public override int Compare( Appointment x, Appointment y )
Parameters
- x
- The first Appointment to compare.
- y
- The second Appointment to compare.
Return Value
Less than zero - x occurs earlier than y. Zero - x and y occur at the same time. Greater than zero - x occurs later than y.