Share via


AppointmentCalendar.DeleteAppointmentInstanceAsync(String, DateTime) Method

Definition

Asynchronously deletes the appointment instance with the specified start time of a master appointment with the specified ID.

public:
 virtual IAsyncAction ^ DeleteAppointmentInstanceAsync(Platform::String ^ localId, DateTime instanceStartTime) = DeleteAppointmentInstanceAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction DeleteAppointmentInstanceAsync(winrt::hstring const& localId, DateTime const& instanceStartTime);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction DeleteAppointmentInstanceAsync(string localId, System.DateTimeOffset instanceStartTime);
function deleteAppointmentInstanceAsync(localId, instanceStartTime)
Public Function DeleteAppointmentInstanceAsync (localId As String, instanceStartTime As DateTimeOffset) As IAsyncAction

Parameters

localId
String

Platform::String

winrt::hstring

The LocalId of the master appointment associated with the appointment instance to be deleted.

instanceStartTime
DateTime DateTimeOffset

The start time of the appointment instance to be deleted. This must be the original start date of the instance.

Returns

An asynchronous action.

Attributes

Windows requirements

App capabilities
appointmentsSystem

Applies to