Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 2.58 KB

appointmentmanager_showreplaceappointmentasync_1458488223.md

File metadata and controls

41 lines (29 loc) · 2.58 KB
-api-id -api-type
M:Windows.ApplicationModel.Appointments.AppointmentManager.ShowReplaceAppointmentAsync(System.String,Windows.ApplicationModel.Appointments.Appointment,Windows.Foundation.Rect,Windows.UI.Popups.Placement,Windows.Foundation.DateTime)
winrt method

Windows.ApplicationModel.Appointments.AppointmentManager.ShowReplaceAppointmentAsync

-description

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

-parameters

-param appointmentId

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

-param appointment

The object representing the information for the appointment to replace the current appointment.

-param selection

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.

-param preferredPlacement

The Placement that describes the preferred placement of the Replace Appointment UI.

-param instanceStartDate

The start date and time of the appointment instance to replace.

-returns

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.

-remarks

-examples

-see-also

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

-capabilities

appointmentsSystem