'Declaration
Public Overloads Function Add( _ ByVal start As Date, _ ByVal duration As TimeSpan _ ) As Appointment
public Appointment Add( DateTime start, TimeSpan duration )
Parameters
- start
- The System.DateTime value which specifies the start date and time of the appointment.
- duration
- The System.TimeSpan value which specifies the duration of the appointment.
Return Value
The Appointment object.