Share via


WindowTab.TreatAsSecondaryTileId Property

Definition

Gets or sets a string that identifies a SecondaryTile used by your app. Setting this property indicates that the tab should be treated as if opened by the secondary tile.

public:
 property Platform::String ^ TreatAsSecondaryTileId { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring TreatAsSecondaryTileId();

void TreatAsSecondaryTileId(winrt::hstring value);
public string TreatAsSecondaryTileId { get; set; }
var string = windowTab.treatAsSecondaryTileId;
windowTab.treatAsSecondaryTileId = string;
Public Property TreatAsSecondaryTileId As String

Property Value

String

Platform::String

winrt::hstring

A string that matches a SecondaryTile.TileId used by your app.

Remarks

Important

This API is for Win32 desktop apps only. UWP and other app types are not supported.

If your app uses a SecondaryTile, you can set this property to associate the tab with it. The tab will be treated as if it were launched by the SecondaryTile.

For more info, see Secondary tiles, the SecondaryTile class, and the SecondaryTile.TileId property.

Applies to

See also