Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a safe control in the package.
Namespace: Microsoft.VisualStudio.SharePoint.Packages
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Public Interface ISafeControl _
Inherits IObservableModelElement
public interface ISafeControl : IObservableModelElement
The ISafeControl type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() |
AssemblyName | Gets or sets the fully-qualified name of the assembly containing the control. |
![]() |
IsSafe | Gets or sets whether the control is considered safe. |
![]() |
IsSafeAgainstScript | Gets or sets whether the control prevents script injection by contributors and, therefore, allows contributors to edit the control. |
![]() |
NamespaceName | Gets or sets the control namespace. |
![]() |
TypeName | Gets or sets the control class name. |
Top
Events
| Name | Description | |
|---|---|---|
![]() |
PropertyChanged | Occurs when a DSL model element has changed. (Inherited from IObservableModelElement.) |
![]() |
PropertyChanging | Occurs when a DSL model element is being changed. (Inherited from IObservableModelElement.) |
Top
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.
.gif)
.gif)