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

适用于