Scheduler for WinRT
Duration Property (Appointment)


Gets or sets the System.TimeSpan value indicating the duration of the appointment.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property Duration As TimeSpan
'Usage
 
Dim instance As Appointment
Dim value As TimeSpan
 
instance.Duration = value
 
value = instance.Duration
[DefaultValue()]
public TimeSpan Duration {get; set;}
Remarks
At setting this property, if it's value is not equal to the whole number of days, 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.