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>

一个异步操作,在成功完成后返回包含约会 ID 的字符串。 如果返回的约会标识符为空字符串,则约会未添加到约会提供程序应用。

属性

Windows 要求

应用功能
appointmentsSystem

适用于