Scheduler for WPF | ComponentOne
C1.Schedule 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 Date, _
       ByVal duration As TimeSpan _
    )
    public Appointment( 
       DateTime start,
       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