desktop3:InvokeAction
包含叫用 AutoPlay 動作的內容和裝置資訊。
元素階層
<desktop3:InvokeAction>
Syntax
<desktop3:InvokeAction
ActionDisplayName = 'A string with a value between 1 and 256 characters in length.'
ProviderDisplayName = 'A string with a value between 1 and 256 characters in length.'
DefaultIcon = 'An optional string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, %, ", |, ?, or *.' >
<!-- Child elements -->
( desktop3:Content{0,1000},
desktop3:Device{0,1000} )
</desktop3:InvokeAction>
答案
{}
特定出現次數範圍
屬性和元素
屬性
屬性 | 描述 | 資料類型 | 必要 | 預設值 |
---|---|---|---|---|
ActionDisplayName | 字串,表示使用者可以在連接到電腦的裝置上執行的動作 (例如:「匯入檔案」或「播放影片」)。 | 長度介於 1 到 256 個字元之間的字串。 | Yes | |
ProviderDisplayName | 字串,表示您的 app 或服務 (例如:「Contoso 影片播放程式」)。 | 長度介於 1 到 256 個字元之間的字串。 | Yes | |
DefaultIcon | 預設圖示之二進位檔中 .ico 檔案或資源的路徑。 | 長度介於 1 到 256 個字元之間的選擇性字串,不能包含下列字元: < 、、 > 、 : 、 % 、 " 、、 | ? 或 * 。 |
No |
子元素
子項目 | 描述 |
---|---|
desktop3:Content | 定義 AutoPlayHandler 的內容資訊。 |
desktop3:Device | 定義 AutoPlayHandler 的裝置資訊。 |
父元素
父元素 | 描述 |
---|---|
desktop3:AutoPlayHandler | AutoPlay 的處理常式,當使用者將裝置連線到其電腦時,可以將您的應用程式顯示為選項。 |
規格需求
Item | 值 |
---|---|
命名空間 | http://schemas.microsoft.com/appx/manifest/desktop/windows10/3 |
OS 最低版本 | Windows 10版本 1709 (組建 16299) |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應