SPRequirementObjectType Simple Type (DeploymentRequirements)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Provides values for the Type attribute on the Requirement Element. The value specifies the object type of the specified deployment requirement.

Definition

<xs:simpleType name="SPRequirementObjectType">
        <xs:restriction base="xs:string">
                <xs:enumeration value="FeatureDefinition" />
                <xs:enumeration value="WebTemplate" />
                <xs:enumeration value="WebPart" />
                <xs:enumeration value="Language" />
        </xs:restriction>
</xs:simpleType>

Enumeration values

Value Description
FeatureDefinition
Specifies that the requirement object type is a Feature definition (SPFeature).
WebTemplate
Specifies that the requirement object type is a Web template (SPWebTemplate).
WebPart
Specifies that the requirement object type is a web part (SPWebPart).
Language
Specifies that the requirement object type is a language pack.

See also