ISchedulerStorageBase.CreateAppointment(AppointmentType, DateTime, DateTime, String) Method

Creates an appointment of the specified type with the specified start time, end time and a subject.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.Core.dll

Declaration

Appointment CreateAppointment(
    AppointmentType type,
    DateTime start,
    DateTime end,
    string subject
)
Function CreateAppointment(
    type As AppointmentType,
    start As Date,
    end As Date,
    subject As String
) As Appointment

Parameters

Name Type Description
type AppointmentType

An AppointmentType enumeration value specifying the type of the created appointment.

start DateTime

A DateTime object specifying the appointment start - the value of the Appointment.Start property.

end DateTime
subject String

Returns

Type Description
Appointment

A newly created Appointment object.

See Also