SecondaryTile.RequestDeleteForSelectionAsync 方法

定义

重载

RequestDeleteForSelectionAsync(Rect)

显示指定区域上方 的“从开始”屏幕取消固定 浮出控件。 此浮出控件允许用户确认删除辅助磁贴。

RequestDeleteForSelectionAsync(Rect, Placement)

在指定区域的指定侧显示 “从”开始“屏幕取消固定 浮出控件。 此浮出控件允许用户确认删除辅助磁贴。

RequestDeleteForSelectionAsync(Rect)

显示指定区域上方 的“从开始”屏幕取消固定 浮出控件。 此浮出控件允许用户确认删除辅助磁贴。

public:
 virtual IAsyncOperation<bool> ^ RequestDeleteForSelectionAsync(Rect selection) = RequestDeleteForSelectionAsync;
/// [Windows.Foundation.Metadata.Overload("RequestDeleteAsyncWithRect")]
IAsyncOperation<bool> RequestDeleteForSelectionAsync(Rect const& selection);
[Windows.Foundation.Metadata.Overload("RequestDeleteAsyncWithRect")]
public IAsyncOperation<bool> RequestDeleteForSelectionAsync(Rect selection);
function requestDeleteForSelectionAsync(selection)
Public Function RequestDeleteForSelectionAsync (selection As Rect) As IAsyncOperation(Of Boolean)

参数

selection
Rect

辅助磁贴正上方显示的区域。

返回

一个对象,提供有关异步删除操作的信息。

属性

注解

调用此方法之前必须在磁贴上设置的唯一属性是 tileId。 如果未设置 tileId ,则对此方法的调用将引发异常。

适用于

RequestDeleteForSelectionAsync(Rect, Placement)

在指定区域的指定侧显示 “从”开始“屏幕取消固定 浮出控件。 此浮出控件允许用户确认删除辅助磁贴。

public:
 virtual IAsyncOperation<bool> ^ RequestDeleteForSelectionAsync(Rect selection, Placement preferredPlacement) = RequestDeleteForSelectionAsync;
/// [Windows.Foundation.Metadata.Overload("RequestDeleteAsyncWithRectAndPlacement")]
IAsyncOperation<bool> RequestDeleteForSelectionAsync(Rect const& selection, Placement const& preferredPlacement);
[Windows.Foundation.Metadata.Overload("RequestDeleteAsyncWithRectAndPlacement")]
public IAsyncOperation<bool> RequestDeleteForSelectionAsync(Rect selection, Placement preferredPlacement);
function requestDeleteForSelectionAsync(selection, preferredPlacement)
Public Function RequestDeleteForSelectionAsync (selection As Rect, preferredPlacement As Placement) As IAsyncOperation(Of Boolean)

参数

selection
Rect

将显示浮出控件的一侧的区域。

preferredPlacement
Placement

枚举值之一,指定应显示浮出控件的矩形的一侧。

返回

一个对象,提供有关异步删除操作的信息。

属性

适用于