編輯

共用方式為


FeatureTemplateReference 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="FeatureTemplateReference">
        <xs:sequence>
            <xs:element name="Properties" type="FeaturePropertyDefinitions" minOccurs="0" maxOccurs="1"></xs:element>
        </xs:sequence>
        <xs:attribute name="ID" type="UniqueIdentifier" use="required" />
        <xs:attribute name="Name" type="xs:string" use="optional" />
        <xs:attribute name="SourceVersion" type="FeatureVersion" 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

Properties

FeaturePropertyDefinitions


Attributes

Attribute

Type

Required

Description

Possible values

ID

UniqueIdentifier

required

Values of the UniqueIdentifier type.

**Name**

xs:string

optional

Values of the xs:string type.

SourceVersion

FeatureVersion

optional

Values of the FeatureVersion type.