Dela via


AppointmentManager.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:
 static IAsyncOperation<Platform::String ^> ^ ShowEditNewAppointmentAsync(Appointment ^ appointment);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<winrt::hstring> ShowEditNewAppointmentAsync(Appointment const& appointment);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<string> ShowEditNewAppointmentAsync(Appointment appointment);
function showEditNewAppointmentAsync(appointment)
Public Shared 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>

An asynchronous operation that returns a string containing an appointment ID upon successful completion. 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