Version

AllDayEventEndTimeBoundary Property

Gets/sets a value which determines the manner in which an all-day appointment's EndDateTime is resolved when it coincides exactly with midnight.
Syntax
'Declaration
 
Public Property AllDayEventEndTimeBoundary As AllDayEventEndTimeBoundary
public AllDayEventEndTimeBoundary AllDayEventEndTimeBoundary {get; set;}
Remarks

This property is only applicable to appointments whose EndDateTime coincides exactly with midnight, and whose AllDayEvent property is set to true.

By default, an all-day appointment whose end time coincides exactly with midnight resolves the end time to one second before midnight, i.e., spans through the previous day, but does not intersect with the actual day in which it ends.

Use this property to resolve an appointment's end time to the latest part of the day coinciding with the EndDateTime property.

For example, an Appointment beginning at 12AM on Monday and ending at 12AM on Tuesday will, by default, span only one day (Monday). With the AllDayEventEndTimeBoundary property set to 'CurrentDay', however, the appointment will then span across Tuesday as well, making it a two-day appointment.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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