Dela via


SecondaryTile.RequestDeleteForSelectionAsync Method

Definition

Overloads

RequestDeleteForSelectionAsync(Rect)

Displays the Unpin from Start flyout above a specified area. This flyout lets the user confirm removal of the secondary tile.

RequestDeleteForSelectionAsync(Rect, Placement)

Displays the Unpin from Start flyout at the specified side of a specified area. This flyout lets the user confirm removal of the secondary tile.

RequestDeleteForSelectionAsync(Rect)

Displays the Unpin from Start flyout above a specified area. This flyout lets the user confirm removal of the secondary tile.

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)

Parameters

selection
Rect

The area that the secondary tile is displayed directly above.

Returns

An object that provides information concerning the asynchronous delete operation.

Attributes

Remarks

The only property that must be set on the tile before calling this method is tileId. If tileId is not set, the call to this method raises an exception.

Applies to

RequestDeleteForSelectionAsync(Rect, Placement)

Displays the Unpin from Start flyout at the specified side of a specified area. This flyout lets the user confirm removal of the secondary tile.

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)

Parameters

selection
Rect

The area to the side of which the flyout will be displayed.

preferredPlacement
Placement

One of the enumeration values that specifies the side of the rectangle where the flyout should be shown.

Returns

An object that provides information concerning the asynchronous delete operation.

Attributes

Applies to