Appointment(AppointmentType, DateTime, TimeSpan, String, Object) Constructor
Initializes a new instance of the Appointment class with the specified type, start date, duration, subject and identifier.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v14.2.Core.dll
#Declaration
public Appointment(
AppointmentType type,
DateTime start,
TimeSpan duration,
string subject,
object id
)
#Parameters
Name | Type | Description |
---|---|---|
type | Appointment |
An Appointment |
start | Date |
A Date |
duration | Time |
A Time |
subject | String | A String value that specifies the subject of the appointment. This value is assigned to the Appointment. |
id | Object | An object specifying the unique identifier for an appointment. |
#Remarks
NOTE
The duration.
NOTE
Don't specify the Appointment
NOTE
The appointment identifier should be unique and synchronized with the corresponding data source field. Use the Scheduler