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

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