Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.98 KB

appointmentmanager_showremoveappointmentasync_1734575458.md

File metadata and controls

39 lines (26 loc) · 1.98 KB
-api-id -api-type
M:Windows.ApplicationModel.Appointments.AppointmentManager.ShowRemoveAppointmentAsync(System.String,Windows.Foundation.Rect)
winrt method

Windows.ApplicationModel.Appointments.AppointmentManager.ShowRemoveAppointmentAsync

-description

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

-parameters

-param appointmentId

The appointment identifier. This is typically obtained from the async return value of a previous ShowAddAppointmentAsync call.

-param selection

The Rect is the rectangular area of user selection (for example, pressing a button), around which the operating system displays the Remove Appointment UI, not within that rectangular area. For example, if an app uses a button to show the Rect, pass the Rect of the button so the Remove Appointment UI displays around the button, not overlapping it.

-returns

When this method completes, it returns a Boolean value that indicates whether the Appointment provider app removed the appointment.

-remarks

When you call this method, the Appointment provider app displays in a light-dismiss pane that is hosted by your app.

This method may return false, even when the appointment was successfully removed.

For info about how to manage appointments, see Manage appointments.

-examples

-see-also

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

-capabilities

appointmentsSystem