共用方式為


AppointmentManager.ShowEditNewAppointmentAsync(Appointment) 方法

定義

顯示約會提供者新增約會 UI,包括完整的編輯體驗,讓使用者能夠新增約會。

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)

參數

appointment
Appointment

要新增的約會。

傳回

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

非同步作業,會在成功完成時傳回包含約會識別碼的字串。 如果傳回的約會識別碼是空字串,則約會不會新增至約會提供者應用程式。

屬性

Windows 需求

應用程式功能
appointmentsSystem

適用於