AppointmentManager Class

Definition

Provides API to interact with the user’s Appointments provider app (for example, the Calendar app). Call static methods to display provider-specific UI so that the user can perform tasks.

public ref class AppointmentManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class AppointmentManager final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AppointmentManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public static class AppointmentManager
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public static class AppointmentManager
Public Class AppointmentManager
Inheritance
Object Platform::Object IInspectable AppointmentManager
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
appointmentsSystem

Remarks

For info about how to manage appointments, see Managing appointments and Quickstart: Managing appointments.

Version history

Windows version SDK version Value added
1607 14393 GetForUser

Methods

GetForUser(User)

Gets the AppointmentManagerForUser object for the specified user.

RequestStoreAsync(AppointmentStoreAccessType)

Requests the AppointmentStore object associated with the calling application.

ShowAddAppointmentAsync(Appointment, Rect, Placement)

Shows the Appointments provider Add Appointment UI, to enable the user to add an appointment.

ShowAddAppointmentAsync(Appointment, Rect)

Shows the Appointments provider Add Appointment UI, to enable the user to add an appointment.

ShowAppointmentDetailsAsync(String, DateTime)

Shows the Appointments provider Appointment Details UI, to enable the user to view the specified appointment.

ShowAppointmentDetailsAsync(String)

Shows the Appointments provider Appointment Details UI, to enable the user to view the specified appointment.

ShowEditNewAppointmentAsync(Appointment)

Shows the Appointments provider Add Appointment UI including the full edit experience, to enable the user to add an appointment.

ShowRemoveAppointmentAsync(String, Rect, Placement, DateTime)

Shows the Appointments provider Remove Appointment UI, to enable the user to remove an appointment.

ShowRemoveAppointmentAsync(String, Rect, Placement)

Shows the Appointments provider Remove Appointment UI, to enable the user to remove an appointment.

ShowRemoveAppointmentAsync(String, Rect)

Shows the Appointments provider Remove Appointment UI, to enable the user to remove an appointment.

ShowReplaceAppointmentAsync(String, Appointment, Rect, Placement, DateTime)

Shows the Appointments provider Replace Appointment UI, to enable the user to replace an appointment.

ShowReplaceAppointmentAsync(String, Appointment, Rect, Placement)

Shows the Appointments provider Replace Appointment UI, to enable the user to replace an appointment.

ShowReplaceAppointmentAsync(String, Appointment, Rect)

Shows the Appointments provider Replace Appointment UI, to enable the user to replace an appointment.

ShowTimeFrameAsync(DateTime, TimeSpan)

Shows the Appointments provider app's primary UI. This typically displays a time frame from an appointments calendar.

Applies to

See also