Manager. Request Pin Secondary Tile Async(SecondaryTile) Method
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> ^ RequestPinSecondaryTileAsync(SecondaryTile ^ secondaryTile) = RequestPinSecondaryTileAsync;
/// [Windows.Foundation.Metadata.RemoteAsync] IAsyncOperation<bool> RequestPinSecondaryTileAsync(SecondaryTile const& secondaryTile);
[Windows.Foundation.Metadata.RemoteAsync] public IAsyncOperation<bool> RequestPinSecondaryTileAsync(SecondaryTile secondaryTile);
Public Function RequestPinSecondaryTileAsync (secondaryTile As SecondaryTile) As IAsyncOperation(Of Boolean)
The secondary tile to be pinned.
A boolean representing whether the tile is pinned to the takbar. If the tile was already pinned, this will update the tile and return true. If pinning wasn't allowed or taskbar isn't supported, this will return false.
Windows 10, version 1809 (introduced in 10.0.17763.0)
Windows.Foundation.UniversalApiContract (introduced in v7.0)
This API can only be used with user approval, as described here. See the docs for pinning secondary tiles to taskbar to learn more.
Submit and view feedback for