SupportedLocale 元素 (SupportedLocalesDefinition complexType)

(SharePoint 外接程序清单)

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

指定加载项支持的区域设置。 提交到 Office 应用商店的加载项需要此元素。

注意

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

元素信息

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

定义

    <xs:element name="SupportedLocale" type="SupportedLocaleDefinition" minOccurs="1" maxOccurs="256"></xs:element>

警告

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

元素和属性

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

父元素

元素

类型

说明

SupportedLocales

SupportedLocalesDefinition

加载项支持的区域设置列表。


子元素

无。


属性

属性

类型

必需

说明

可能的值

CultureName

CultureNameDefinition

必需

加载项支持的区域设置的区域性名称。

CultureNameDefinition 类型的值;例如,en-us。