desktop:SearchProtocolHandler

表示桌面進程會處理應用程式的搜尋通訊協定。

元素階層

<套件>

      <應用程式>

            <應用程式>

                  <擴充功能>

                        <Desktop:Extension>

                              <Desktop:SearchProtocolHandler>

Syntax

<desktop:SearchProtocolHandler
  protocolName = 'A string with a value between 2 and 2048 characters in length.'
  protocolActivatorCLSID = 'A string with a value between 1 and 255 characters in length that cannot start or end with a period or contain these characters: <, >, :, ", /, \, |, ?, or *.' />

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
ProtocolName 要顯示 ot 使用者的易記名稱。 長度介於 2 到 2048 個字元之間的字串。 Yes
ProtocolActivatorCLSID 搜尋通訊協定的唯一識別碼。 長度介於 1 到 255 個字元之間的字串,長度不能以句號開頭或結尾,或包含下列字元: <>\:/|"? 或 。 * Yes

子元素

父元素

父元素 描述
desktop:Extension 宣告應用程式的擴充點。

規格需求

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