Skip to main content

StaticAppointmentFactory.CreateAppointment Method

Name Parameters Description
CreateAppointment(AppointmentType, DateTime, DateTime, String) static type, start, end, subject Creates an appointment of the specified type with the specified start time, end time and a subject.
CreateAppointment(AppointmentType, DateTime, DateTime) static type, start, end Creates an appointment of the specified type with the specified start and end time.
CreateAppointment(AppointmentType, DateTime, TimeSpan, String) static type, start, duration, subject Creates an appointment of the specified type with the specified start time, duration and a subject.
CreateAppointment(AppointmentType, DateTime, TimeSpan) static type, start, duration Creates an appointment of the specified type with the specified start time and duration.
CreateAppointment(AppointmentType) static type Creates an appointment of the specified type.