VoiceCommandResponse.AppLaunchArgument 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
property Platform::String ^ AppLaunchArgument { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring AppLaunchArgument();
void AppLaunchArgument(winrt::hstring value);
public string AppLaunchArgument { get; set; }
var string = voiceCommandResponse.appLaunchArgument;
voiceCommandResponse.appLaunchArgument = string;
Public Property AppLaunchArgument As String
屬性值
用來作為啟動參數的字串。
備註
若要啟用應用程式的深層連結,請在 windows.personalAssistantLaunch
應用程式專案的 Package.appxmanifest 檔案中宣告延伸模組。
應用程式會透過統一資源識別項 (URI) 使用 通訊協定 合約啟動至前景。 應用程式必須覆寫OnActivated事件,並檢查Protocol的ActivationKind。 如需詳細資訊,請參閱 處理 URI 啟用 。
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應