Share via


uap3:Name

指定應用程式可以裝載的延伸模組類別。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <uap3:Extension>

                        <uap3:AppExtensionHost>

                             <uap3:Name>

Syntax

<uap3:Name>
    A string with a value between 2 and 255 characters in length that consists of alphanumeric characters, periods 
    (except for the first character), and dashes only.
</uap3:Name>

屬性和元素

屬性

無。

子元素

無。

父元素

Parent 項目 Description
uap3:AppExtensionHost 宣告應用程式的擴充點。

範例

下列範例指出應用程式可以裝載 Office 拼字檢查和瀏覽器延伸模組。

<Package ...
    xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"  
    IgnorableNamespaces="uap3">
    <Applications>
        <Application>
            <Extensions>
                <uap3:Extension
                    Category="windows.appExtensionHost">  
                    <uap3:AppExtensionHost>  
                        <uap3:Name>com.microsoft.office.spellcheck.ext</uap3:Name> 
                        <uap3:Name>com.microsoft.office.browser.ext</uap3:Name>  
                    </uap3:AppExtensionHost>  
                </uap3:Extension>
            </Extensions>
        </Application>
    </Applications>
</Package>

規格需求

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