Partager via


ISafeControl.IsSafeAgainstScript Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets whether the control prevents script injection by contributors and, therefore, allows contributors to edit the control.

Namespace:  Microsoft.VisualStudio.SharePoint.Packages
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Property IsSafeAgainstScript As Boolean
bool IsSafeAgainstScript { get; set; }

Property Value

Type: System.Boolean
True if the control is secure; false otherwise.

.NET Framework Security

See Also

Reference

ISafeControl Interface

Microsoft.VisualStudio.SharePoint.Packages Namespace