AppointmentStore.ShowRemoveAppointmentAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
- selection
- Rect
Rect 是用户选择的矩形区域, (例如,按按钮) ,操作系统围绕该按钮显示“删除约会 UI”,而不是在该矩形区域内。 例如,如果应用使用按钮显示 Rect,则传递按钮的 Rect ,以便“删除约会”UI 显示在按钮周围,而不是重叠。
返回
此方法完成后,它将返回一个 布尔 值,该值指示约会提供程序应用是否删除了约会。
- 属性
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)
参数
- selection
- Rect
Rect 是用户选择的矩形区域, (例如,按按钮) ,操作系统围绕该按钮显示“删除约会 UI”,而不是在该矩形区域内。 例如,如果应用使用按钮显示 Rect,则传递按钮的 Rect ,以便“删除约会”UI 显示在按钮周围,而不是重叠。
- instanceStartDate
- DateTime DateTimeOffset
要删除的约会实例的开始日期和时间。 此参数必须是实例的原始开始日期。
返回
此方法完成后,它将返回一个 布尔 值,该值指示约会提供程序应用是否删除了约会。
- 属性
Windows 要求
应用功能 |
appointmentsSystem
|