ISafeControl.IsSafeAgainstScript Property
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: Boolean
True if the control is secure; false otherwise.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.