Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AppointmentDataStorage.Add(AppointmentType, DateTime, DateTime) Method

Adds a new appointment with specific properties to this AppointmentDataStorage.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

public Appointment Add(
    AppointmentType type,
    DateTime start,
    DateTime end
)

#Parameters

Name Type Description
type AppointmentType

An Appointment enumeration value that specifies the appointment type.

start DateTime

A DateTime value that specifies the start of a time interval related to the appointment.

end DateTime

A DateTime value that specifies the end of a time interval related to the appointment.

#Returns

Type Description
Appointment

An Appointment object that is the added appointment.

See Also