SecondaryTile.Arguments 屬性

定義

取得或設定應用程式定義的一組資訊,該資訊會從次要磚傳遞至啟用時傳遞至應用程式。 當您建立磚時,需要這個屬性。

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

屬性值

String

Platform::String

winrt::hstring

引數字串,2048 個字元或更少。 應用程式可瞭解此字串的內容。 任何超過 2048 個字元的字串都會擲回例外狀況。 此字串會透過 LaunchActivatedEventArgs.Arguments 屬性傳遞至應用程式。

備註

按一下、觸控或鍵盤) 透過此次要磚啟動應用程式 (時,磚會將此引數字串傳送至應用程式。

適用於