Scheduler for WinRT
End Property (Appointment)


Gets or sets the System.DateTime value determining the end date and time of the appointment.
Syntax
'Declaration
 
Public Property End As Date
'Usage
 
Dim instance As Appointment
Dim value As Date
 
instance.End = value
 
value = instance.End
public DateTime End {get; set;}
Remarks

The End property is usually specified by the Start and Duration properties, and is always calculated as End = Start + Duration. When setting the End property, the Start property retains its value, and the Duration is changed according to the new value of the End property. If the new End property's value is less than the Start property's value, then an exception will be raised.

At setting this property, if it's time is not equal 0:00, or value is equal to the value of Start property, the AllDayEvent property will be set to false.

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

Appointment Class
Appointment Members

 

 


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