共用方式為


AppointmentStore.GetAppointmentInstanceAsync(String, DateTime) 方法

定義

使用指定的LocalId和指定的開始時間,擷取Appointment的實例。

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

要擷取之約會實例的 LocalId

instanceStartTime
DateTime DateTimeOffset

要擷取之約會實例的開始時間。 此參數的值必須是實例的原始開始日期。

傳回

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

屬性

Windows 需求

應用程式功能
appointmentsSystem

適用於