共用方式為


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

Platform::String

winrt::hstring

擷取的約會實例所屬主要約會的識別碼。

instanceStartTime
DateTime DateTimeOffset

要擷取之約會實例的開始時間。

傳回

非同步作業,會在成功完成時傳回 Appointment

屬性

Windows 需求

應用程式功能
appointmentsSystem

備註

instanceStartTime參數必須是實例的原始開始日期。

適用於