# DeleteSecondary

> Shows a request to the user to unpin the secondary tile with the specified ID from the Start screen.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.WSA](/engine/7000.0/script-reference/unityengine/wsa.md)
* **Assembly:** UnityEngine.CoreModule

## DeleteSecondary(string)

Shows a request to the user to unpin the secondary tile with the specified ID from the Start screen.

```csharp
public static void DeleteSecondary(string tileId)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The ID of the secondary tile to unpin.

### Remarks

Windows removes the tile only if the user accepts the request. If you have a [Tile](/engine/7000.0/script-reference/unityengine/wsa/tile.md) object for the tile, you can use [Tile.Delete](/engine/7000.0/script-reference/unityengine/wsa/tile/delete.md) instead.

## DeleteSecondary(string, Vector2)

Shows a request to the user, at a screen position, to unpin the secondary tile with the specified ID.

```csharp
public static void DeleteSecondary(string tileId, Vector2 pos)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The ID of the secondary tile to unpin.**** (\[Vector2]\(/engine/7000.0/script-reference/unityengine/vector2)): The screen coordinates to show the request at.

### Remarks

Windows shows the request at `pos` and removes the tile only if the user accepts the request. If you have a [Tile](/engine/7000.0/script-reference/unityengine/wsa/tile.md) object for the tile, you can use [Tile.Delete](/engine/7000.0/script-reference/unityengine/wsa/tile/delete.md) instead.

## DeleteSecondary(string, Rect)

Shows a request to the user, above a screen area, to unpin the secondary tile with the specified ID.

```csharp
public static void DeleteSecondary(string tileId, Rect area)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The ID of the secondary tile to unpin.**** (\[Rect]\(/engine/7000.0/script-reference/unityengine/rect)): The screen area to show the request above.

### Remarks

Windows shows the request above `area` and removes the tile only if the user accepts the request. If you have a [Tile](/engine/7000.0/script-reference/unityengine/wsa/tile.md) object for the tile, you can use [Tile.Delete](/engine/7000.0/script-reference/unityengine/wsa/tile/delete.md) instead.
