[]
Selects specified Appointment object in the user interface.
public void SelectAppointment(Appointment appointment, bool extendSelection)
Type | Name | Description |
---|---|---|
Appointment | appointment | The Appointment object to select. |
bool | extendSelection | The bool value specifying the kind of selection to be made. If true, specified Appointment object will be added to the current selection. If false, current selection will be changed by the specified Appointment object. |
This method doesn't change or scroll current view. Use GoToDate(DateTime) method to bring desired Appointment object into view:
GoToDate(appointment.Start);