定义外接程序访问关联的 API 或功能所需的扩展权限。 元素 ExtendedPermission 是 ExtendedPermissions 的子元素。
重要
要求集 1.9 中引入了对此元素的支持。 请查看支持此要求集的客户端和平台。
外接程序类型: 邮件
仅在以下 VersionOverrides 架构中有效:
- 邮件 1.1
 
有关详细信息,请参阅 仅外接程序清单中的版本替代。
与以下要求集关联:
可用的扩展权限
下面是可用值。
| 可用值 | 说明 | Hosts | 
|---|---|---|
AppendOnSend | 
声明加载项使用 Office.Body.prependOnSendAsync 或 Office.Body.appendOnSendAsync API。 若要了解详细信息,请参阅 发送时将内容预置或追加到邮件或约会正文。  | 
Outlook | 
              ExtendedPermission 例
下面是 元素的示例 ExtendedPermission 。
...
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
    ...
    <Hosts>
      <Host xsi:type="MailHost">
        <DesktopFormFactor>
          <SupportsSharedFolders>true</SupportsSharedFolders>
          <FunctionFile resid="residDesktopFuncUrl" />
          <ExtensionPoint xsi:type="MessageReadCommandSurface">
            <!-- Configure your selected extension point. -->
          </ExtensionPoint>
          <!-- You can define more than one ExtensionPoint element as needed. -->
        </DesktopFormFactor>
      </Host>
    </Hosts>
    ...
    <!-- Configure the prepend-on-send or append-on-send feature using the AppendOnSend value. -->
    <ExtendedPermissions>
      <ExtendedPermission>AppendOnSend</ExtendedPermission>
    </ExtendedPermissions>
  </VersionOverrides>
</VersionOverrides>
...