AppointmentDataStorage.Add(AppointmentType, DateTime, TimeSpan) Method

Adds a new appointment with specific properties to this AppointmentDataStorage.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.dll


public Appointment Add(
    AppointmentType type,
    DateTime start,
    TimeSpan duration
Public Function Add(
    type As AppointmentType,
    start As Date,
    duration As TimeSpan
) As Appointment


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.

duration TimeSpan

A TimeSpan value that specifies the duration of a time interval related to the appointment.


Type Description

An Appointment object that is the added appointment.

See Also