AppointmentCalendar.GetAppointmentInstanceAsync(String, DateTime) Method

Definition

Asynchronously retrieves the appointment instance of the specified master appointment that has 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 ID of the master appointment to which the retrieved appointment instance belongs.

instanceStartTime
DateTime DateTimeOffset

The start time of the appointment instance to be retrieved.

Returns

An asynchronous operation that returns Appointment on successful completion.

Attributes

Windows requirements

App capabilities
appointmentsSystem

Remarks

The instanceStartTime parameter must be the original start date of the instance.

Applies to