AppointmentManager AppointmentManager AppointmentManager AppointmentManager 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 : static class AppointmentManager
static struct winrt::Windows::ApplicationModel::Appointments::AppointmentManager
public static class AppointmentManager
Public Static Class AppointmentManager
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
appointmentsSystem

Remarks

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

Methods

GetForUser(User) GetForUser(User) GetForUser(User) GetForUser(User) GetForUser(User)

Gets the AppointmentManagerForUser object for the specified user.

RequestStoreAsync(AppointmentStoreAccessType) RequestStoreAsync(AppointmentStoreAccessType) RequestStoreAsync(AppointmentStoreAccessType) RequestStoreAsync(AppointmentStoreAccessType) RequestStoreAsync(AppointmentStoreAccessType)

Requests the AppointmentStore object associated with the calling application.

ShowAddAppointmentAsync(Appointment, Rect) ShowAddAppointmentAsync(Appointment, Rect) ShowAddAppointmentAsync(Appointment, Rect) ShowAddAppointmentAsync(Appointment, Rect) ShowAddAppointmentAsync(Appointment, Rect)

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

ShowAddAppointmentAsync(Appointment, Rect, Placement) ShowAddAppointmentAsync(Appointment, Rect, Placement) ShowAddAppointmentAsync(Appointment, Rect, Placement) ShowAddAppointmentAsync(Appointment, Rect, Placement) ShowAddAppointmentAsync(Appointment, Rect, Placement)

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

ShowAppointmentDetailsAsync(String) ShowAppointmentDetailsAsync(String) ShowAppointmentDetailsAsync(String) ShowAppointmentDetailsAsync(String) ShowAppointmentDetailsAsync(String)

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

ShowAppointmentDetailsAsync(String, DateTime) ShowAppointmentDetailsAsync(String, DateTime) ShowAppointmentDetailsAsync(String, DateTime) ShowAppointmentDetailsAsync(String, DateTime) ShowAppointmentDetailsAsync(String, DateTime)

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

ShowEditNewAppointmentAsync(Appointment) ShowEditNewAppointmentAsync(Appointment) ShowEditNewAppointmentAsync(Appointment) ShowEditNewAppointmentAsync(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) ShowRemoveAppointmentAsync(String, Rect) ShowRemoveAppointmentAsync(String, Rect) ShowRemoveAppointmentAsync(String, Rect) ShowRemoveAppointmentAsync(String, Rect)

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

ShowRemoveAppointmentAsync(String, Rect, Placement) ShowRemoveAppointmentAsync(String, Rect, Placement) ShowRemoveAppointmentAsync(String, Rect, Placement) ShowRemoveAppointmentAsync(String, Rect, Placement) ShowRemoveAppointmentAsync(String, Rect, Placement)

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

ShowRemoveAppointmentAsync(String, Rect, Placement, DateTime) ShowRemoveAppointmentAsync(String, Rect, Placement, DateTime) ShowRemoveAppointmentAsync(String, Rect, Placement, DateTime) ShowRemoveAppointmentAsync(String, Rect, Placement, DateTime) ShowRemoveAppointmentAsync(String, Rect, Placement, DateTime)

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

ShowReplaceAppointmentAsync(String, Appointment, Rect) ShowReplaceAppointmentAsync(String, Appointment, Rect) ShowReplaceAppointmentAsync(String, Appointment, Rect) ShowReplaceAppointmentAsync(String, Appointment, Rect) ShowReplaceAppointmentAsync(String, Appointment, Rect)

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

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

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

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

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

ShowTimeFrameAsync(DateTime, TimeSpan) ShowTimeFrameAsync(DateTime, TimeSpan) ShowTimeFrameAsync(DateTime, TimeSpan) ShowTimeFrameAsync(DateTime, TimeSpan) ShowTimeFrameAsync(DateTime, TimeSpan)

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

See Also