-api-id | -api-type |
---|---|
M:Windows.ApplicationModel.Appointments.AppointmentManager.ShowRemoveAppointmentAsync(System.String,Windows.Foundation.Rect) |
winrt method |
Shows the Appointments provider Remove Appointment UI, to enable the user to remove an appointment.
The appointment identifier. This is typically obtained from the async return value of a previous ShowAddAppointmentAsync call.
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.
When this method completes, it returns a Boolean value that indicates whether the Appointment provider app removed the appointment.
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.
ShowRemoveAppointmentAsync(String, Rect, Placement), ShowRemoveAppointmentAsync(String, Rect, Placement, DateTime)
appointmentsSystem