Add(DateTime,TimeSpan,String) Method
Creates the new
Appointment object with specified parameters and adds it to the collection.
public Appointment Add(
System.DateTime ,
System.TimeSpan ,
System.string
)
'Declaration
Public Overloads Function Add( _
ByVal As System.Date, _
ByVal As System.TimeSpan, _
ByVal As System.String _
) 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.
- subject
- The System.String value which contains the subject of the appointment.
Return Value