Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.5.2 Assembly / C1.C1Schedule Namespace / AppointmentCollection Class / Add Method / Add(DateTime,DateTime,String) 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.
The System.String value which contains the subject of the appointment.

In This Topic
    Add(DateTime,DateTime,String) 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 System.Date, _
       ByVal end As System.Date, _
       ByVal subject As System.String _
    ) As Appointment
    public Appointment Add( 
       System.DateTime start,
       System.DateTime end,
       System.string subject
    )

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

    Return Value

    The Appointment object.
    See Also