Share via


desktop6:DataItem

指定服務的觸發程式事件字串值。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <desktop6:Extension>

                        <desktop6:Service>

                             <desktop6:TriggerEvents>

                                  <desktop6:TriggerCustom>

                                       <desktop6:StringData>

                                            <desktop6:DataItem>

Syntax

<desktop6:DataItem
  Value = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.' />

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
字串的值。 長度介於 1 到 32767 個字元之間的字串,其開頭和結尾具有非空白字元。 Yes

子元素

無。

父元素

父元素 描述
StringData 為服務的觸發程式事件指定一或多個字串資料值。

備註

這個專案需要 packagedServiceslocalSystemServices受限制的功能

規格需求

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