編輯

共用方式為


PropertyBagDefinition complexType

(AppHostWebFeatures)

Note

The string app appears as part of or all of some element, attribute, and file names because SharePoint Add-ins were originally called "apps for SharePoint." To ensure backward compatibility, the schemas have not been changed.

Type information

Resource File
Namespace http://schemas.microsoft.com/sharepoint/
Schema file apphostwebfeatures.xsd
Extension base None

Definition

    <xs:complexType name="PropertyBagDefinition">
        <xs:sequence>
            <xs:element name="Property" type="PropertyValueAttributeDefinition" minOccurs="0" maxOccurs="unbounded"></xs:element>
        </xs:sequence>
        <xs:attribute name="ItemIndex" type="xs:string" use="optional" />
        <xs:attribute name="Url" type="xs:string" use="optional" />
        <xs:attribute name="ParentType" type="PropertyBagParentTypeDefinition" use="required" />
        <xs:attribute name="RootWebOnly" type="TRUEFALSE" use="optional" />
        <xs:attribute name="HyperlinkBaseUrl" type="AbsoluteUrl" use="optional" />
    </xs:complexType>

Elements and attributes

If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.

Child elements

Element

Type

Description

Property

PropertyValueAttributeDefinition


Attributes

Attribute

Type

Required

Description

Possible values

HyperlinkBaseUrl

AbsoluteUrl

optional

Values of the AbsoluteUrl type.

ItemIndex

xs:string

optional

Values of the xs:string type.

ParentType

PropertyBagParentTypeDefinition

required

Values of the PropertyBagParentTypeDefinition type.

RootWebOnly

TRUEFALSE

optional

Values of the TRUEFALSE type.

Url

xs:string

optional

Values of the xs:string type.