StartScreenManager.ContainsSecondaryTileAsync(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.
Checks if the specified secondary tile is pinned to Start.
public:
virtual IAsyncOperation<bool> ^ ContainsSecondaryTileAsync(Platform::String ^ tileId) = ContainsSecondaryTileAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> ContainsSecondaryTileAsync(winrt::hstring const& tileId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> ContainsSecondaryTileAsync(string tileId);
function containsSecondaryTileAsync(tileId)
Public Function ContainsSecondaryTileAsync (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 Start.
- 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 is only relevant when you are pinning your tiles to multiple surfaces, like pinning secondary tiles to taskbar. If you only pin secondary tiles to Start, you should instead use SecondaryTile.Exists which has been present since the first version of Windows 10.