Dela via


AppointmentManagerForUser.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);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<string> ShowEditNewAppointmentAsync(Appointment appointment);
function showEditNewAppointmentAsync(appointment)
Public Function ShowEditNewAppointmentAsync (appointment As Appointment) As IAsyncOperation(Of String)

Parameters

appointment
Appointment

The new 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.

Attributes

Windows requirements

App capabilities
appointmentsSystem

Applies to