Share via


AppointmentStore.GetAppointmentInstanceAsync(String, DateTime) Method

Definition

Retrieves the instance of the Appointment with the specified LocalId and the specified start time.

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)

Parameters

localId
String

Platform::String

winrt::hstring

The LocalId of the appointment instance to be retrieved.

instanceStartTime
DateTime DateTimeOffset

The start time of the appointment instance to be retrieved. The value of this parameter must be the original start date of the instance.

Returns

An asynchronous operation that returns an Appointment upon successful completion.

Attributes

Windows requirements

App capabilities
appointmentsSystem

Applies to