Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.8 Assembly / C1.Win.C1Schedule Namespace / C1Schedule Class / SelectAppointment Method
The C1.C1Schedule.Appointment object to select.
The System.Boolean value specifying the kind of selection to be made. If true, specified C1.C1Schedule.Appointment object will be added to the current selection. If false, current selection will be changed by the specified C1.C1Schedule.Appointment object.

In This Topic
    SelectAppointment Method (C1Schedule)
    In This Topic
    Selects specified C1.C1Schedule.Appointment object in the user interface.
    Syntax
    'Declaration
     
    Public Sub SelectAppointment( _
       ByVal appointment As Appointment, _
       ByVal extendSelection As System.Boolean _
    ) 
    public void SelectAppointment( 
       Appointment appointment,
       System.bool extendSelection
    )

    Parameters

    appointment
    The C1.C1Schedule.Appointment object to select.
    extendSelection
    The System.Boolean value specifying the kind of selection to be made. If true, specified C1.C1Schedule.Appointment object will be added to the current selection. If false, current selection will be changed by the specified C1.C1Schedule.Appointment object.
    Remarks
    This method doesn't change or scroll current view. Use GoToDate method to bring desired C1.C1Schedule.Appointment object into view: GoToDate(appointment.Start);
    See Also