Appointment Class

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.


Namespace:  Microsoft.Phone.UserData
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public sealed class Appointment

The Appointment type exposes the following members.

Public propertyAccountGets the data source associated with this appointment.
Public propertyAttendeesGets the attendees associated with this appointment.
Public propertyDetailsGets a detailed description of the appointment.
Public propertyEndTimeGets the date and time that the appointment ends.
Public propertyIsAllDayEventGets a value that indicates whether the appointment is an all-day event.
Public propertyIsPrivateGets a value that indicates whether the appointment is private.
Public propertyLocationGets the location of the appointment.
Public propertyOrganizerGets the organizer of the appointment.
Public propertyStartTimeGets the date and time that the appointment starts.
Public propertyStatusGets information about how to treat the block of time of this appointment, such as busy or out of the office.
Public propertySubjectGets the subject of the appointment.

Public methodEqualsDetermines whether the specified appointment is equal to the current appointment. (Overrides Object.Equals(Object).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for the appointment type. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns 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.


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.


Windows Phone 8


Windows Phone 8

For more info, see App capabilities and hardware requirements for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

© 2017 Microsoft