AppointmentManager.ShowRemoveAppointmentAsync メソッド

定義

オーバーロード

ShowRemoveAppointmentAsync(String, Rect)

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

ShowRemoveAppointmentAsync(String, Rect, Placement)

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

ShowRemoveAppointmentAsync(String, Rect, Placement, DateTime)

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

ShowRemoveAppointmentAsync(String, Rect)

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

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

パラメーター

appointmentId
String

Platform::String

winrt::hstring

予定識別子。 これは通常、前の ShowAddAppointmentAsync 呼び出しの非同期戻り値から取得されます。

selection
Rect

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

戻り値

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

属性

Windows の要件

アプリの機能
appointmentsSystem

注釈

このメソッドを呼び出すと、予定プロバイダー アプリが、アプリによってホストされている簡易無視ウィンドウに表示されます。

このメソッドは、予定が正常に削除された場合でも false を返す場合があります。

予定を管理する方法については、「予定の 管理」を参照してください。

こちらもご覧ください

適用対象

ShowRemoveAppointmentAsync(String, Rect, Placement)

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

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

パラメーター

appointmentId
String

Platform::String

winrt::hstring

予定識別子。 これは通常、前の ShowAddAppointmentAsync 呼び出しの非同期戻り値から取得されます。

selection
Rect

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

preferredPlacement
Placement

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

戻り値

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

属性

Windows の要件

アプリの機能
appointmentsSystem

注釈

このオーバーロードの「 ShowRemoveAppointmentAsync」の解説セクションを参照してください。

こちらもご覧ください

適用対象

ShowRemoveAppointmentAsync(String, Rect, Placement, DateTime)

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

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

パラメーター

appointmentId
String

Platform::String

winrt::hstring

予定識別子。 これは通常、前の ShowAddAppointmentAsync 呼び出しの非同期戻り値から取得されます。

selection
Rect

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

preferredPlacement
Placement

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

instanceStartDate
DateTime DateTimeOffset

削除する予定インスタンスの開始日時。

戻り値

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

属性

Windows の要件

アプリの機能
appointmentsSystem

注釈

このオーバーロードの「 ShowRemoveAppointmentAsync」の解説セクションを参照してください。

こちらもご覧ください

適用対象