ISafeControl.IsSafe Property
Gets or sets whether the control is considered safe.
Namespace: Microsoft.VisualStudio.SharePoint.Packages
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Property IsSafe As Boolean
bool IsSafe { get; set; }
Property Value
Type: Boolean
True if the control is safe; false otherwise.
Remarks
Safe controls are controls that marked as secure by the control's author. Safe controls can be used by contributors. see Security for SharePoint Solutions.
.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.