Add(DateTime,TimeSpan) Method
Creates the new
Appointment object with specified parameters and adds it to the collection.
public Appointment Add(
System.DateTime ,
System.TimeSpan
)
'Declaration
Public Overloads Function Add( _
ByVal As System.Date, _
ByVal As System.TimeSpan _
) As Appointment
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