在特定设备(台式机、平板电脑或电话)上运行时邮件外接程序将使用的窗体的 UX 设置。
重要
DesktopSettings、 TabletSettings和 PhoneSettings 元素仅在经典Outlook 网页版 (通常连接到 Windows 上的旧版本地 Exchange 服务器) 和 Outlook 2013 中可用。
外接程序类型:邮件
语法
<Form xsi:type="ItemRead">
   <!--https://MyDomain.com/website.html is a placeholder for your own add-in website.-->
   <DesktopSettings>
      <!--If you opt to include RequestedHeight, it must be between 32px to 450px, inclusive.-->
      <RequestedHeight>360</RequestedHeight>
      <SourceLocation DefaultValue="https://MyDomain.com/website.html" />
   </DesktopSettings>
   <TabletSettings>
      <!--If you opt to include RequestedHeight, it must be between 32px to 450px, inclusive.-->
      <RequestedHeight>360</RequestedHeight>
      <SourceLocation DefaultValue="https://MyDomain.com/website.html" />
   </TabletSettings>
   <PhoneSettings>
      <SourceLocation DefaultValue="https://MyDomain.com/website.html" />
   </PhoneSettings>
</Form>
包含于
可以包含
| Element | 
|---|
| DesktopSettings | 
| TabletSettings | 
| PhoneSettings | 
属性
| 属性 | 必需 | 说明 | 
|---|---|---|
| xsi:type | 是 | 指定加载项在 Outlook 中的显示位置。 如果用户在阅读邮件或约会时应显示外接程序,请将 属性设置为 ItemRead。 但是,如果用户撰写答复、创建新邮件或约会或编辑现有约会时应显示外接程序,请将 属性设置为ItemEdit。 |