Scheduler for WPF | ComponentOne
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.

In This Topic
    Compare(Appointment,Appointment) Method
    In This Topic
    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 Integer
    public 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