AppointmentCalendar.GetAppointmentInstanceAsync(String, DateTime) 方法

定义

异步检索具有指定开始时间的指定主约会的约会实例。

public:
 virtual IAsyncOperation<Appointment ^> ^ GetAppointmentInstanceAsync(Platform::String ^ localId, DateTime instanceStartTime) = GetAppointmentInstanceAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<Appointment> GetAppointmentInstanceAsync(winrt::hstring const& localId, DateTime const& instanceStartTime);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<Appointment> GetAppointmentInstanceAsync(string localId, System.DateTimeOffset instanceStartTime);
function getAppointmentInstanceAsync(localId, instanceStartTime)
Public Function GetAppointmentInstanceAsync (localId As String, instanceStartTime As DateTimeOffset) As IAsyncOperation(Of Appointment)

参数

localId
String

检索到的约会实例所属的主约会的 ID。

instanceStartTime
DateTime DateTimeOffset

要检索的约会实例的开始时间。

返回

IAsyncOperation<Appointment>

在成功完成时返回 约会 的异步操作。

属性

Windows 要求

应用功能
appointmentsSystem

注解

instanceStartTime 参数必须是实例的原始开始日期。

适用于