AppointmentManager.ShowReplaceAppointmentAsync メソッド

定義

オーバーロード

ShowReplaceAppointmentAsync(String, Appointment, Rect)

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

ShowReplaceAppointmentAsync(String, Appointment, Rect, Placement)

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

ShowReplaceAppointmentAsync(String, Appointment, Rect, Placement, DateTime)

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

ShowReplaceAppointmentAsync(String, Appointment, Rect)

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

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

パラメーター

appointmentId
String

Platform::String

winrt::hstring

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

appointment
Appointment

現在の予定を置き換える予定の情報を表す オブジェクト。

selection
Rect

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

戻り値

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

このメソッドが完了すると、予定を表す String オブジェクトが返されます。 これは、更新または削除時の将来の参照の予定識別子として機能します。 返される予定識別子が空の文字列の場合、予定は Appointments プロバイダー アプリで置き換えされませんでした。

属性

Windows の要件

アプリの機能
appointmentsSystem

こちらもご覧ください

適用対象

ShowReplaceAppointmentAsync(String, Appointment, Rect, Placement)

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

public:
 static IAsyncOperation<Platform::String ^> ^ ShowReplaceAppointmentAsync(Platform::String ^ appointmentId, Appointment ^ appointment, Rect selection, Placement preferredPlacement);
/// [Windows.Foundation.Metadata.Overload("ShowReplaceAppointmentWithPlacementAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<winrt::hstring> ShowReplaceAppointmentAsync(winrt::hstring const& appointmentId, Appointment const& appointment, Rect const& selection, Placement const& preferredPlacement);
[Windows.Foundation.Metadata.Overload("ShowReplaceAppointmentWithPlacementAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<string> ShowReplaceAppointmentAsync(string appointmentId, Appointment appointment, Rect selection, Placement preferredPlacement);
function showReplaceAppointmentAsync(appointmentId, appointment, selection, preferredPlacement)
Public Shared Function ShowReplaceAppointmentAsync (appointmentId As String, appointment As Appointment, selection As Rect, preferredPlacement As Placement) As IAsyncOperation(Of String)

パラメーター

appointmentId
String

Platform::String

winrt::hstring

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

appointment
Appointment

現在の予定を置き換える予定の情報を表す オブジェクト。

selection
Rect

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

preferredPlacement
Placement

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

戻り値

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

このメソッドが完了すると、予定を表す String オブジェクトが返されます。 これは、更新または削除時の将来の参照の予定識別子として機能します。 返される予定識別子が空の文字列の場合、予定は Appointments プロバイダー アプリで置き換えされませんでした。

属性

Windows の要件

アプリの機能
appointmentsSystem

こちらもご覧ください

適用対象

ShowReplaceAppointmentAsync(String, Appointment, Rect, Placement, DateTime)

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

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

パラメーター

appointmentId
String

Platform::String

winrt::hstring

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

appointment
Appointment

現在の予定を置き換える予定の情報を表す オブジェクト。

selection
Rect

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

preferredPlacement
Placement

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

instanceStartDate
DateTime DateTimeOffset

置き換える予定インスタンスの開始日時。

戻り値

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

このメソッドが完了すると、予定を表す String オブジェクトが返されます。 これは、更新または削除時の将来の参照の予定識別子として機能します。 返される予定識別子が空の文字列の場合、予定は Appointments プロバイダー アプリで置き換えされませんでした。

属性

Windows の要件

アプリの機能
appointmentsSystem

こちらもご覧ください

適用対象