Share via


uap:SupportedUsers (Windows 10)

指出套件是否為多使用者感知。 此設定用於安裝時間,以判斷是否可以在系統上安裝套件。

元素階層

<套件>

    <屬性>

         <uap:SupportedUsers>

Syntax

<uap:SupportedUsers>
  A string that can have one of the following values: "single" or "multiple".
</uap:SupportedUsers>

屬性和元素

屬性

無。

子元素

無。

父元素

父元素 描述
屬性 定義套件的其他中繼資料,包括描述套件對使用者顯示方式的屬性。

注意

如果資訊清單元素 DisplayName 或 Description 包含 Windows 防火牆不允許的字元,您可能會收到錯誤;namely |all ,因為 Windows 無法建立套件的 AppContainer 設定檔。 如果您收到錯誤,請使用此參考進行 疑難排解

範例

<Properties>
    <uap:SupportedUsers>single</uap:SupportedUsers>
</Properties>

規格需求

Item
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10
OS 最低版本 Windows 10版本 1511 (組建 10586)