[]
Creates the new Appointment object with default settings and adds it to the collection.
public Appointment Add()
Type | Description |
---|---|
Appointment | The Appointment object. |
Creates the new Appointment object with specified parameters and adds it to the collection.
public Appointment Add(DateTime start, DateTime end)
Type | Name | Description |
---|---|---|
DateTime | start | The DateTime value which specifies the start date and time of the appointment. |
DateTime | end | The DateTime value which specifies the end date and time of the appointment. |
Type | Description |
---|---|
Appointment | The Appointment object. |
Creates the new Appointment object with specified parameters and adds it to the collection.
public Appointment Add(DateTime start, TimeSpan duration)
Type | Name | Description |
---|---|---|
DateTime | start | The DateTime value which specifies the start date and time of the appointment. |
TimeSpan | duration | The TimeSpan value which specifies the duration of the appointment. |
Type | Description |
---|---|
Appointment | The Appointment object. |
Creates the new Appointment object with specified parameters and adds it to the collection.
public Appointment Add(DateTime start, DateTime end, string subject)
Type | Name | Description |
---|---|---|
DateTime | start | The DateTime value which specifies the start date and time of the appointment. |
DateTime | end | The DateTime value which specifies the end date and time of the appointment. |
string | subject | The string value which contains the subject of the appointment. |
Type | Description |
---|---|
Appointment | The Appointment object. |
Creates the new Appointment object with specified parameters and adds it to the collection.
public Appointment Add(DateTime start, TimeSpan duration, string subject)
Type | Name | Description |
---|---|---|
DateTime | start | The DateTime value which specifies the start date and time of the appointment. |
TimeSpan | duration | The TimeSpan value which specifies the duration of the appointment. |
string | subject | The string value which contains the subject of the appointment. |
Type | Description |
---|---|
Appointment | The Appointment object. |