ClientWebPartProperty complexType
(AppHostWebFeatures)
注意
该字符串 app
显示为某些元素、属性和文件名的一部分或全部,因为 SharePoint 外接程序最初称为“SharePoint 应用程序”。为确保向后兼容性,架构尚未更改。
类型信息
信息 | 位置 |
---|---|
命名空间 | http://schemas.microsoft.com/sharepoint/ |
架构文件 | apphostwebfeatures.xsd |
扩展库 | 无 |
定义
<xs:complexType name="ClientWebPartProperty">
<xs:all>
<xs:element name="EnumItems" type="ClientWebPartEnumItems" minOccurs="0" maxOccurs="1"></xs:element>
</xs:all>
<xs:attribute name="Name" type="xs:string" use="required" />
<xs:attribute name="Type" type="ClientWebPartPropertyType" use="required" />
<xs:attribute name="RequiresDesignerPermission" type="xs:boolean" use="required" />
<xs:attribute name="DefaultValue" type="xs:string" use="required" />
<xs:attribute name="PersonalizationScope" type="WebPartPersonalizationScope" use="optional" />
<xs:attribute name="PersonalizableIsSensitive" type="xs:boolean" use="optional" />
<xs:attribute name="WebBrowsable" type="xs:boolean" use="optional" />
<xs:attribute name="WebDisplayName" type="xs:string" use="optional" />
<xs:attribute name="WebDescription" type="xs:string" use="optional" />
<xs:attribute name="WebCategory" type="xs:string" use="optional" />
<xs:attribute name="ManagedLinkFixup" type="xs:boolean" use="optional" />
<xs:attribute name="ManagedLinkConvertServerLinksToRelative" type="xs:boolean" use="optional" />
<xs:attribute name="Multilingual" type="xs:boolean" use="optional" />
</xs:complexType>
元素和属性
如果架构定义了特定要求(如 sequence、 minOccurs、 maxOccurs 和 choice),请参阅定义部分。
子元素
元素 |
类型 |
说明 |
---|---|---|
属性
属性 | 类型 | 必需 | 说明 | 可能的值 |
---|---|---|---|---|
DefaultValue | xs:string | 必需 | xs:string 类型的值。 | |
ManagedLinkConvertServerLinksToRelative | xs:boolean | 可选 | xs:boolean 类型的值。 | |
ManagedLinkFixup | xs:boolean | 可选 | xs:boolean 类型的值。 | |
多语言 | xs:boolean | 可选 | xs:boolean 类型的值。 | |
名称 | xs:string | 必需 | xs:string 类型的值。 | |
PersonalizableIsSensitive | xs:boolean | 可选 | xs:boolean 类型的值。 | |
PersonalizationScope | WebPartPersonalizationScope | 可选 | WebPartPersonalizationScope 类型的值。 | |
RequiresDesignerPermission | xs:boolean | 必需 | xs:boolean 类型的值。 | |
类型 | ClientWebPartPropertyType | 必需 | ClientWebPartPropertyType 类型的值。 | |
WebBrowsable | xs:boolean | 可选 | xs:boolean 类型的值。 | |
WebCategory | xs:string | 可选 | xs:string 类型的值。 | |
WebDescription | xs:string | 可选 | xs:string 类型的值。 | |
WebDisplayName | xs:string | 可选 | xs:string 类型的值。 |