SupportedLocales 元素 (PropertiesDefinition complexType)

(SharePoint 外接程序清单)

适用范围:SharePoint 外接程序|SharePoint Foundation 2013 |SharePoint Server 2013

指定加载项支持的区域设置。 提交到 Office 应用商店的加载项需要此元素。 它的主要用途是使用受支持的区域设置列表填充 spstore UI。

注意

该字符串 app 显示为某些元素、属性和文件名的一部分或全部,因为 SharePoint 外接程序最初称为“SharePoint 应用程序”。为确保向后兼容性,架构尚未更改。

元素信息

信息 位置
元素类型 SupportedLocalesDefinition
命名空间 http://schemas.microsoft.com/sharepoint/2012/app/manifest
架构文件 appmanifest.xsd

定义

    <xs:element name="SupportedLocales" type="SupportedLocalesDefinition" minOccurs="0" maxOccurs="1"></xs:element>

元素和属性

如果架构定义了特定要求(如 sequenceminOccursmaxOccurschoice),请参阅定义部分。

父元素

元素

类型

说明

Properties

PropertiesDefinition

包含加载项的全局信息。

子元素

元素

类型

说明

SupportedLocale

SupportedLocaleDefinition

声明加载项支持的区域设置。

警告

尽管外接程序清单标记的 XSD 中 SupportedLocale 元素的 maxOccurs 属性设置为 256,但 Office 应用商店可能会设置较低的有效最大值。 自 SharePoint 2013 发布起,父 SupportedLocales 元素中最多有效 25 个 SupportedLocale 元素

Attributes

无。