共用方式為


FeatureProperties Element

Represents a collection of property values that are included with a Feature when it is deployed to SharePoint. After a Feature is deployed, you can access the property values in your code.

<FeatureProperties>
  <FeatureProperty.../>
</FeatureProperties>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element

Description

FeatureProperty

Optional element.

Represents a custom property, in key/value format.

Parent Elements

Element

Description

ProjectItem

Represents a SharePoint project item. This is the required root element of the .spdata file.

Remarks

For more information about Feature properties, see Providing Packaging and Deployment Information in Project Items.

Element Information

Namespace

https://schemas.microsoft.com/VisualStudio/2010/SharePointTools/SharePointProjectItemModel

Schema name

SharePoint Project Item Schema

Validation file

ProjectItemModelSchema.xsd

Can be empty

No

See Also

Concepts

SharePoint Project Item Schema Reference

Providing Packaging and Deployment Information in Project Items