ComponentOne Scheduler for WPF and Silverlight
Compare(Appointment,Appointment) Method

C1.WPF.Schedule Namespace > C1Scheduler Class > Compare Method : Compare(Appointment,Appointment) 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 Overloads 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

C1Scheduler Class
C1Scheduler Members
Overload List