desktop2:ThumbnailHandler

啟用檔案類型關聯的 ThumbnailProvider。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <uap:Extension>

                        <uap:FileTypeAssociation>

                             <desktop2:ThumbnailHandler>

Syntax

<desktop2:ThumbnailHandler
  Clsid = A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. />

屬性和元素

屬性

屬性 描述 資料類型 必要
Clsid 啟用 COM 類別的識別碼。 格式為 xxxxxxxx-xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxx 的 GUID。 Yes

子元素

無。

父元素

父元素 描述
uap:FileTypeAssociation 宣告 windows.fileTypeAssociation類型的應用程式擴充點。 檔案類型關聯表示應用程式已註冊來處理指定類型的檔案。

備註

元素 <desktop2:ThumbnailHandler> 只能存在於以具有:EntryPoint=「windows 的專案所定義的 <Application> 專案下 <FileTypeAssociation> 。FullTrustApplication」。

規格需求

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