Scheduler for WPF | ComponentOne
C1.C1Schedule Namespace / AppointmentCollection Class / Add Method / Add(DateTime,DateTime) Method
The System.DateTime value which specifies the start date and time of the appointment.
The System.DateTime value which specifies the end date and time of the appointment.

In This Topic
    Add(DateTime,DateTime) Method
    In This Topic
    Creates the new Appointment object with specified parameters and adds it to the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal start As Date, _
       ByVal end As Date _
    ) As Appointment

    Parameters

    start
    The System.DateTime value which specifies the start date and time of the appointment.
    end
    The System.DateTime value which specifies the end date and time of the appointment.

    Return Value

    The Appointment object.
    See Also