'Declaration Public Overloads Function Add( _ ByVal start As System.Date, _ ByVal duration As System.TimeSpan, _ ByVal subject As System.String _ ) As Appointment
public Appointment Add( System.DateTime start, System.TimeSpan duration, System.string subject )
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.
- subject
- The System.String value which contains the subject of the appointment.
Return Value
The Appointment object.