Appointment Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Contains all available information about an individual appointment.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
The Appointment type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Account | Gets the data source associated with this appointment. |
![]() | Attendees | Gets the attendees associated with this appointment. |
![]() | Details | Gets a detailed description of the appointment. |
![]() | EndTime | Gets the date and time that the appointment ends. |
![]() | IsAllDayEvent | Gets a value that indicates whether the appointment is an all-day event. |
![]() | IsPrivate | Gets a value that indicates whether the appointment is private. |
![]() | Location | Gets the location of the appointment. |
![]() | Organizer | Gets the organizer of the appointment. |
![]() | StartTime | Gets the date and time that the appointment starts. |
![]() | Status | Gets information about how to treat the block of time of this appointment, such as busy or out of the office. |
![]() | Subject | Gets the subject of the appointment. |
| Name | Description | |
|---|---|---|
![]() | Equals | Determines whether the specified appointment is equal to the current appointment. (Overrides Object::Equals(Object).) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for the appointment type. (Overrides Object::GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Windows Phone provides an aggregated view of the user’s calendar data across the user's different accounts. Information can come from sources such as data entered in the phone itself, social networking sites, and other data service providers. Not all data from all service providers is exposed publicly through this API. The StorageKind enumeration lists the possible sources of data.
All individual Appointment objects come from the SearchAsync method of the Appointments object.
Capabilities
If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.
ID_CAP_CONTACTS | Windows Phone 8 |
ID_CAP_APPOINTMENTS | Windows Phone 8 |
For more info, see App capabilities and hardware requirements for Windows Phone 8.


