SecondaryTile.TileId Property

Definition

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

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

void TileId(winrt::hstring value);
public string TileId { get; set; }
var string = secondaryTile.tileId;
secondaryTile.tileId = string;
Public Property TileId As String

Property Value

String

Platform::String

winrt::hstring

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.

Applies to