AppointmentDataStorage.Add(AppointmentType, DateTime, TimeSpan, String) Method
In This Article
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,
TimeSpan duration,
string subject
)
#Parameters
Name | Type | Description |
---|---|---|
type | Appointment |
An Appointment enumeration value that specifies the appointment type. |
start | Date |
A Date |
duration | Time |
A Time |
subject | String | A String value that specifies the appointment subject. |
#Returns
Type | Description |
---|---|
Appointment | An Appointment object that is the added appointment. |
See Also