共用方式為


AppointmentStore.ShowEditNewAppointmentAsync(Appointment) 方法

定義

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

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)

參數

appointment
Appointment

要新增的約會。

傳回

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

當這個方法完成時,它會傳回 String 物件,代表約會的 RoamingId 。 如果傳回的約會識別碼是空字串,則約會未新增至約會提供者應用程式。

屬性

Windows 需求

應用程式功能
appointmentsSystem

適用於