ComponentOne Upload for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / 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.

In This Topic
    Appointment Constructor(DateTime,TimeSpan)
    In This Topic
    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