SecondaryTile.SecondaryTile(String) constructor

Applies to Windows and Windows Phone

Creates a SecondaryTile object with a specific ID. This form of the constructor should be used to create a secondary tile object to perform a tile update or deletion.

Syntax


var secondaryTile = new Windows.UI.StartScreen.SecondaryTile(tileId);

Parameters

tileId

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

A string that will uniquely identify the tile within your app. Choose a unique ID that is descriptive and meaningful to your app. If you provide the same ID as that of an existing secondary tile, the existing secondary tile will be overwritten.

Remarks

The unique ID that you use to create this tile can be used later update or delete it.

Other mandatory tile properties, such as the display name, must be set through calls to other methods of this class before the tile can be activated.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.StartScreen
Windows::UI::StartScreen [C++]

Metadata

Windows.winmd

See also

SecondaryTile
SecondaryTile
SecondaryTile(String, String, String, String, TileOptions, Uri)
SecondaryTile(String, String, String, String, TileOptions, Uri, Uri)
SecondaryTile(String, String, String, Uri, TileSize)
Secondary tiles sample

 

 

Show:
© 2014 Microsoft