Share via


desktop3:Content

定義 AutoPlayHandler 的內容資訊。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <desktop3:Extension>

                        <desktop3:AutoPlayHandler>

                             <desktop3:InvokeAction>

                                  <desktop3:Content>

Syntax

<desktop3:Content
  ContentEvent = 'A string with a value between 1 and 255 characters in length. Backward slashes ("\") are not allowed.'
  Verb = 'A string with a value between 1 and 64 characters in length that consists of letters, numbers, periods, dashes, and spaces only.'
  DropTargetHandler = 'An optional GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
  Parameters = 'An optional string with a value between 1 and 256 characters in length.' />

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
ContentEvent 當相機記憶卡、USB 磁片磁碟機或 DVD 等磁片區裝置插入電腦時,所引發的內容事件名稱。 長度介於 1 到 255 個字元之間的字串。 不允許回斜線 (\) 。 Yes
動詞命令 指定動作的常值。 可能的值可以包含 (,但不限於) :顯示、播放、匯入和開啟。 長度介於 1 到 64 個字元之間的字串,其中包含字母、數位、句號 () . 、虛線 (-) 和空格。 Yes
DropTargetHandler GUID,識別實作 IDropTarget 介面之應用程式的類別識別碼。 xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx 格式的選擇性 GUID。 No
參數 如果未實作 IDropTarget 介面,則提供用來啟動應用程式的參數。 長度介於 1 到 256 個字元之間的選擇性字串。 No

子元素

無。

父元素

父元素 描述
desktop3:InvokeAction 包含叫用 AutoPlay 動作的內容和裝置資訊。

規格需求

Item
命名空間 http://schemas.microsoft.com/appx/manifest/desktop/windows10/3
OS 最低版本 Windows 10版本 1709 (組建 16299)