Share via


AppointmentStore.ShowEditNewAppointmentAsync(Appointment) Method

Definition

Shows the Appointments provider Add Appointment UI including the full edit experience, to enable the user to add an appointment.

public:
 virtual IAsyncOperation<Platform::String ^> ^ ShowEditNewAppointmentAsync(Appointment ^ appointment) = ShowEditNewAppointmentAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<winrt::hstring> ShowEditNewAppointmentAsync(Appointment const& appointment);
IAsyncOperation<winrt::hstring> ShowEditNewAppointmentAsync(Appointment const& appointment);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<string> ShowEditNewAppointmentAsync(Appointment appointment);
public IAsyncOperation<string> ShowEditNewAppointmentAsync(Appointment appointment);
function showEditNewAppointmentAsync(appointment)
Public Function ShowEditNewAppointmentAsync (appointment As Appointment) As IAsyncOperation(Of String)

Parameters

appointment
Appointment

The appointment to be added.

Returns

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

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.

Attributes

Windows requirements

App capabilities
appointmentsSystem

Applies to