Scheduler for WinRT
Compare Method (AppointmentComparer)


The first Appointment to compare.
The second Appointment to compare.
Performs a comparison of two Appointment objects and returns a value indicating whether the one Appointment starts earlier, at the same time, or later than the other.
Syntax
'Declaration
 
Public Overrides Function Compare( _
   ByVal x As Appointment, _
   ByVal y As Appointment _
) As Integer
'Usage
 
Dim instance As AppointmentComparer
Dim x As Appointment
Dim y As Appointment
Dim value As Integer
 
value = instance.Compare(x, y)
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AppointmentComparer Class
AppointmentComparer Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.