Delen via


ProjectItemFolder Element

Represents a mapped folder.

<ProjectItemFolder Target = "Path of SharePoint folder the mapped folder corresponds to"
    Type = "Type of deployment for the mapped folder" />

ProjectItemFolderType

Attributes and Elements

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

Attributes

Attribute

Description

Target

Required xs:string attribute.

The path of the folder in the SharePoint installation that the mapped folder corresponds to, relative to the deployment root folder. The deployment root folder is determined by the deployment type specified by the Type attribute.

For more information, see the descriptions for the Deployment Path and Deployment Root properties of SharePoint project items in Developing SharePoint Solutions.

Type

Required xs:string attribute.

The type of deployment for the mapped folder. For more information about the possible values, see the description for the Deployment Type property of SharePoint project items in Developing SharePoint Solutions.

Child Elements

None.

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 mapped folders, see How to: Add and Remove Mapped Folders.

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

Tasks

How to: Add and Remove Mapped Folders

Concepts

SharePoint Project Item Schema Reference