Share via


Rescap4:Redirect

指定 Interop 元件的重新導向資訊。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <rescap4:Extension>

                        <rescap4:PrimaryInteropAssemblies>

                             <rescap4:Redirect>

Syntax

<recap4:Redirect
       Version = 'A version string in quad notation ("Major.Minor.Build.Revision"), where Major cannot be 0.'
       AssemblyVersion = 'A version string in quad notation ("Major.Minor.Build.Revision"), where Major cannot be 0.'
       PublicKey = 'A hexadecimal string value generated by the packager.'
       MachineType = 'A string that can have one of the following values: "x86", "x64", "arm", "arm64", or "neutral".'
       TargetClrVersion = 'A version string in quad notation ("Major.Minor.Build.Revision"), where Major cannot be 0.'
       Path = 'A string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.' />

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
版本 組件的版本。 四次標記法中的版本字串 (Major.Minor.Build.Revision) ,其中 Major 不能是 0 Yes
AssemblyVersion 組件的版本。 四次標記法中的版本字串 (Major.Minor.Build.Revision) ,其中 Major 不能是 0 Yes
PublicKey 用來存取元件的公開金鑰。 封裝程式所產生的十六進位字串值。 Yes
MachineType 用於元件的裝置架構。 可具有下列其中一個值的字串:x86x64、arm、arm64中性 Yes
TargetClrVersion 用於元件的裝置目標架構。 四次標記法中的版本字串 (Major.Minor.Build.Revision) ,其中 Major 不能是 0
路徑 組件的路徑。 長度介於 1 到 256 個字元之間的字串,不能包含下列字元: < 、、、 :>"|?* Yes

子元素

無。

父元素

父元素 描述
rescap4:PrimaryInteropAssemblies 定義套件元件組態。

規格需求

Item
rescap4 http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities/4
OS 最低版本 Windows 10版本 1803 (組建 17134)