SecondaryTile.Arguments Property

Definition

Gets or sets an app-defined set of information that is passed from the secondary tile to the app on activation. This property is required when you create a tile.

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

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

Property Value

String

Platform::String

winrt::hstring

The argument string, of 2048 or fewer characters. This contents of this string are understood by the app. Any string longer than 2048 characters will cause an exception to be thrown. This string is passed to the app through the LaunchActivatedEventArgs.Arguments property.

Remarks

When an app is activated through this secondary tile (by click, touch, or keyboard), the tile sends this argument string to the app.

Applies to