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

C1.C1Schedule Namespace > Appointment Class > Appointment Constructor : Appointment Constructor(DateTime,TimeSpan,String)
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.
The System.String value which contains the subject 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, _
   ByVal subject As System.String _
)
public Appointment( 
   System.DateTime start,
   System.TimeSpan duration,
   System.string subject
)

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.
subject
The System.String value which contains the subject of the appointment.
See Also

Reference

Appointment Class
Appointment Members
Overload List