ComponentOne Scheduler for WPF and Silverlight
Appointment Constructor(DateTime,TimeSpan)

C1.C1Schedule Namespace > Appointment Class > Appointment Constructor : Appointment Constructor(DateTime,TimeSpan)
The System.DateTime value which specifies the start date and time of the appointment.
The System.TimeSpan value which specifies the duration of the appointment.
Initializes a new instance of the Appointment class with the specified parameters.
Syntax
'Declaration
 
Public Function New( _
   ByVal start As System.Date, _
   ByVal duration As System.TimeSpan _
)
public Appointment( 
   System.DateTime start,
   System.TimeSpan duration
)

Parameters

start
The System.DateTime value which specifies the start date and time of the appointment.
duration
The System.TimeSpan value which specifies the duration of the appointment.
See Also

Reference

Appointment Class
Appointment Members
Overload List