Share via


AppointmentStore.ShowRemoveAppointmentAsync メソッド

定義

オーバーロード

ShowRemoveAppointmentAsync(String, Rect)

予定プロバイダーの [予定の削除] UI を表示して、ユーザーが予定を削除できるようにします。

ShowRemoveAppointmentAsync(String, Rect, Placement, DateTime)

予定プロバイダーの [予定の削除] UI を表示して、ユーザーが予定を削除できるようにします。

ShowRemoveAppointmentAsync(String, Rect)

予定プロバイダーの [予定の削除] UI を表示して、ユーザーが予定を削除できるようにします。

public:
 virtual IAsyncOperation<bool> ^ ShowRemoveAppointmentAsync(Platform::String ^ localId, Rect selection) = ShowRemoveAppointmentAsync;
/// [Windows.Foundation.Metadata.Overload("ShowRemoveAppointmentAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> ShowRemoveAppointmentAsync(winrt::hstring const& localId, Rect const& selection);
[Windows.Foundation.Metadata.Overload("ShowRemoveAppointmentAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> ShowRemoveAppointmentAsync(string localId, Rect selection);
function showRemoveAppointmentAsync(localId, selection)
Public Function ShowRemoveAppointmentAsync (localId As String, selection As Rect) As IAsyncOperation(Of Boolean)

パラメーター

localId
String

Platform::String

winrt::hstring

削除する予定の LocalId

selection
Rect

Rect は、ユーザーが選択した四角形の領域 (ボタンを押すなど) であり、その四角形の領域内ではなく、オペレーティング システムに [予定の削除] UI が表示されます。 たとえば、アプリでボタンを使用して Rect を表示する場合は、ボタンの Rect を渡して、ボタンの周囲に [予定の削除] UI が表示され、重複しないようにします。

戻り値

このメソッドが完了すると、Appointment プロバイダー アプリが予定を削除したかどうかを示す ブール 値が返されます。

属性

Windows の要件

アプリの機能
appointmentsSystem

こちらもご覧ください

適用対象

ShowRemoveAppointmentAsync(String, Rect, Placement, DateTime)

予定プロバイダーの [予定の削除] UI を表示して、ユーザーが予定を削除できるようにします。

public:
 virtual IAsyncOperation<bool> ^ ShowRemoveAppointmentAsync(Platform::String ^ localId, Rect selection, Placement preferredPlacement, DateTime instanceStartDate) = ShowRemoveAppointmentAsync;
/// [Windows.Foundation.Metadata.Overload("ShowRemoveAppointmentWithPlacementAndDateAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> ShowRemoveAppointmentAsync(winrt::hstring const& localId, Rect const& selection, Placement const& preferredPlacement, DateTime const& instanceStartDate);
[Windows.Foundation.Metadata.Overload("ShowRemoveAppointmentWithPlacementAndDateAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> ShowRemoveAppointmentAsync(string localId, Rect selection, Placement preferredPlacement, System.DateTimeOffset instanceStartDate);
function showRemoveAppointmentAsync(localId, selection, preferredPlacement, instanceStartDate)
Public Function ShowRemoveAppointmentAsync (localId As String, selection As Rect, preferredPlacement As Placement, instanceStartDate As DateTimeOffset) As IAsyncOperation(Of Boolean)

パラメーター

localId
String

Platform::String

winrt::hstring

削除する予定の LocalId

selection
Rect

Rect は、ユーザーが選択した四角形の領域 (ボタンを押すなど) であり、その四角形の領域内ではなく、オペレーティング システムに [予定の削除] UI が表示されます。 たとえば、アプリでボタンを使用して Rect を表示する場合は、ボタンの Rect を渡して、ボタンの周囲に [予定の削除] UI が表示され、重複しないようにします。

preferredPlacement
Placement

予定の削除 UI の推奨される配置を記述する配置。

instanceStartDate
DateTime DateTimeOffset

削除する予定インスタンスの開始日時。 このパラメーターは、インスタンスの元の開始日である必要があります。

戻り値

このメソッドが完了すると、Appointment プロバイダー アプリが予定を削除したかどうかを示す ブール 値が返されます。

属性

Windows の要件

アプリの機能
appointmentsSystem

こちらもご覧ください

適用対象