TaskbarManager.TryUnpinSecondaryTileAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual IAsyncOperation<bool> ^ TryUnpinSecondaryTileAsync(Platform::String ^ tileId) = TryUnpinSecondaryTileAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryUnpinSecondaryTileAsync(winrt::hstring const& tileId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryUnpinSecondaryTileAsync(string tileId);
function tryUnpinSecondaryTileAsync(tileId)
Public Function TryUnpinSecondaryTileAsync (tileId As String) As IAsyncOperation(Of Boolean)
Parameters
- tileId
-
String
Platform::String
winrt::hstring
The TileId of the SecondaryTile you want to unpin.
Returns
A boolean representing whether the tile is not pinned to taskbar. If unpinning wasn't allowed, this returns false.
- Attributes
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
Remarks
This API can only be used with Limited-Access. See the docs for pinning secondary tiles to taskbar to learn more.