ComponentOne Scheduler for WinForms
Compare Method (C1Schedule)

C1.Win.C1Schedule.4 Assembly > C1.Win.C1Schedule Namespace > C1Schedule Class : Compare Method
The first C1.C1Schedule.Appointment to compare.
The second C1.C1Schedule.Appointment to compare.
Performs a comparison of two C1.C1Schedule.Appointment objects based on their start time and subject.
Syntax
'Declaration
 
Public Function Compare( _
   ByVal x As Appointment, _
   ByVal y As Appointment _
) As System.Integer
public System.int Compare( 
   Appointment x,
   Appointment y
)

Parameters

x
The first C1.C1Schedule.Appointment to compare.
y
The second C1.C1Schedule.Appointment to compare.

Return Value

The System.Int32 value determining the comparison result.
See Also

Reference

C1Schedule Class
C1Schedule Members