Share via


Windows 8.1 的 (延伸模組架構、屬性子系的標誌)

包含影像之檔案的路徑。

元素階層

<延伸模組>
<FileTypeAssociation>
<標誌>
<通訊協定>
<標誌>
<套件>
<屬性>
<標誌>

語法

<Logo>

  A string between 1 and 256 characters in length that ends with ".jpg", ".png", or ".jpeg" that can't contain these characters: <, >, :, ", |, ?, or *. In this string, the / and \ characters can't be the first or last characters. Also, the string can contain / or \ but not both.

</Logo>

屬性和項目

屬性

無。

子元素

無。

父項目

Parent 項目 描述
FileTypeAssociation

宣告 fileTypeAssociation類型的應用程式擴充性點。 檔案類型關聯表示已註冊應用程式來處理指定之類型的檔案。

屬性

定義封裝的其他中繼資料,包括描述封裝如何向使用者顯示的屬性。

注意如果資訊清單元素 DisplayName 或 Description 包含 Windows 防火牆不允許的字元,則可能會收到錯誤,也就是「|」和「全部」,因為 Windows 無法建立套件的 AppContainer 設定檔。 如果您收到錯誤,請將此參考用於 [疑難排解] (/windows/win32/appxpkg/troubleshooting) 。
 
通訊協定

宣告類型為 windows. protocol的應用程式擴充性點。 URI 關聯表示已註冊應用程式,以處理具有指定配置的 Uri。

 

備註

您可以將標誌影像指定為影像檔案的直接路徑,或做為資源。 藉由使用資源參考,您可以提供不同縮放比例的影像,讓 Windows 可以為裝置和螢幕解析度選擇最佳大小。 您也可以提供協助工具的高對比影像和當地語系化的影像,以符合不同的 UI 語言。 如需詳細資訊,請參閱 全球化 主題。

透過此元素為各種父元素提供的標誌影像大小需求如下所示:

影像縮放影像大小(圖元) Package\Properties\Logo 100 50x50 140 70x70 180 90x90 Applications\Application\Extensions\Extension\FileTypeAssociation\Logo 未使用 scale N/A Applications\Application\Extensions\Extension\Protocol\Logo 未使用 scale N/A

需求

Namespace http://schemas.microsoft.com/appx/2010/manifest