Appointments
This section provides sample tasks that involve appointments. Appointments include events, meetings, and recurring appointments, to name a few. Outlook uses the AppointmentItem object to represent appointments in the Calendar folder.
In this section
Topic | Description |
---|---|
Create an appointment that is an all-day event | Uses the AllDayEvent property to create an appointment that is an all-day event. |
Create an appointment that starts in the Pacific Time Zone and ends in the Eastern Time Zone | Creates an appointment that begins in the Pacific Time Zone (UTC-8) and ends in the Eastern Time Zone (UTC-5). |
Specify different recipient types for an appointment item | Uses the OlMeetingRecipientType enumeration to specify different recipient types for an appointment item. |
Create a recurring appointment by using the default recurrence pattern | Creates a recurring appointment by using the default recurrence pattern. |
Create a recurring appointment that has a weekly pattern | Creates a recurring appointment that has a weekly pattern (for example, an appointment that occurs every Monday, Wednesday, and Friday). |
Create an annual recurring appointment that uses a YearNth pattern | Creates an appointment for which the annual recurrence pattern is a specific day such as the first Monday in June. |
Find a specific appointment in a recurring appointment series | Shows how to return an AppointmentItem object that represents a specific appointment in a recurring appointment series. |
Create an exception appointment in a recurring appointment series | Uses an Exception object to create an exception to a standard recurrence pattern for an appointment. |
Create a reminder for an appointment item | Uses the ReminderSet property to create a reminder for an appointment item. |
Import appointment XML data into Outlook appointment objects | Reads appointment data formatted in XML, saves the data to Outlook AppointmentItem objects in the default calendar, and returns the appointment objects in an array. |