Windows Dev Center

SecondaryTile.TileId | tileId property

Gets or sets a unique string to identify the tile within the package. This property is required when you create or delete a tile.

Syntax


var tileId = secondaryTile.tileId;
secondaryTile.tileId = tileId;

Property value

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

A unique identifier, meaningful to your app. It is limited to 64 characters and must begin with a number or letter and be composed of the characters a-z, A-Z, 0-9, period (.), or underscore (_). It cannot contain spaces, commas, or any of these characters: | > < " / ? * \ ; : ! '

Remarks

If two secondary tiles have the same ID, the last one to be pinned will overwrite the existing tile.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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
Secondary tiles sample

 

 

Show:
© 2015 Microsoft