-api-id | -api-type |
---|---|
M:Windows.ApplicationModel.Appointments.AppointmentManager.ShowReplaceAppointmentAsync(System.String,Windows.ApplicationModel.Appointments.Appointment,Windows.Foundation.Rect,Windows.UI.Popups.Placement) |
winrt method |
Shows the Appointments provider Replace Appointment UI, to enable the user to replace an appointment.
The appointment identifier of the current appointment. This is typically obtained from the async return value of a previous ShowAddAppointmentAsync or ShowReplaceAppointmentAsync call.
The object representing the information for the appointment to replace the current appointment.
The Rect is the rectangular area of user selection (for example, pressing a button), around which the operating system displays the Replace 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 Replace Appointment UI displays around the button, not overlapping it.
The Placement that describes the preferred placement of the Replace Appointment UI.
When this method completes, it returns a String object that represents the appointment. This serves as an appointment identifier for future reference when updating or removing. If the appointment identifier returned is an empty string, the appointment was not replaced in the Appointments provider app.
ShowReplaceAppointmentAsync(String, Appointment, Rect), ShowReplaceAppointmentAsync(String, Appointment, Rect, Placement, DateTime)
appointmentsSystem