Share via


TaskbarManager.IsSecondaryTilePinnedAsync(String) Method

Definition

Checks if the specified secondary tile is pinned to taskbar. Requires user approval as described here

public:
 virtual IAsyncOperation<bool> ^ IsSecondaryTilePinnedAsync(Platform::String ^ tileId) = IsSecondaryTilePinnedAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> IsSecondaryTilePinnedAsync(winrt::hstring const& tileId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> IsSecondaryTilePinnedAsync(string tileId);
function isSecondaryTilePinnedAsync(tileId)
Public Function IsSecondaryTilePinnedAsync (tileId As String) As IAsyncOperation(Of Boolean)

Parameters

tileId
String

Platform::String

winrt::hstring

The TileId of the SecondaryTile that you want to check is pinned.

Returns

A boolean representing whether the specified secondary tile is pinned to taskbar.

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.

Applies to

See also