Creates the new Appointment object
with specified parameters and adds it to the collection.
Namespace:
C1.C1ScheduleAssembly: C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)
Syntax
| C# |
|---|
public Appointment Add( DateTime start, DateTime end ) |
| Visual Basic (Declaration) |
|---|
Public Function Add ( _ start As DateTime, _ end As DateTime _ ) As Appointment |
Parameters
- start
- Type: System..::..DateTime
The DateTime value which specifies the start date and time of the appointment.
- end
- Type: System..::..DateTime
The DateTime value which specifies the end date and time of the appointment.