Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.69 KB

appointmentstore_showaddappointmentasync_92599717.md

File metadata and controls

33 lines (23 loc) · 1.69 KB
-api-id -api-type
M:Windows.ApplicationModel.Appointments.AppointmentStore.ShowAddAppointmentAsync(Windows.ApplicationModel.Appointments.Appointment,Windows.Foundation.Rect)
winrt method

Windows.ApplicationModel.Appointments.AppointmentStore.ShowAddAppointmentAsync

-description

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

-parameters

-param appointment

The object representing the information for the appointment to add.

-param selection

The Rect is the rectangular area of user selection (for example, pressing a button), around which the operating system displays the Add 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 Add Appointment UI displays around the button, not overlapping it.

-returns

When this method completes, it returns a String object that represents the RoamingId of the appointment. If the appointment identifier returned is an empty string, the appointment was not added to the Appointments provider app.

-remarks

For Windows Phone 8.x apps, this method behaves the same as ShowEditNewAppointmentAsync, in that the fields in the Add Appointment UI are editable by the user.

-examples

-see-also

-capabilities

appointmentsSystem