Bagikan melalui


SafeControls Element

Represents a collection of ASPX controls and Web Parts that are designated as secure for any user to access on any ASPX page on the SharePoint site.

<SafeControls>
  <SafeControl.../>
</SafeControls>

Attributes and Elements

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

Attributes

None.

Child Elements

Element

Description

SafeControl

Optional element.

Represents an ASPX control or Web Part that is designated as secure for any user to access on any ASPX page on the SharePoint site.

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 safe controls, 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