ISafeControlEntry Interface
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Represents a safe control entry that is added to SharePoint's web.config file when it is deployed.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Public Interface ISafeControlEntry _
Inherits INotifyObjectDisposing, INotifyObjectDisposed, INotifyPropertyChanged
public interface ISafeControlEntry : INotifyObjectDisposing,
INotifyObjectDisposed, INotifyPropertyChanged
The ISafeControlEntry type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
AssemblyName | Gets or sets the fully-qualified assembly name of the safe control entry. |
![]() |
IsDisposed | Gets whether the an object is disposed. (Inherited from INotifyObjectDisposed.) |
![]() |
IsDisposing | Gets whether an object is disposing. (Inherited from INotifyObjectDisposing.) |
![]() |
IsSafe | Gets or sets whether the safe control entry is safe. |
![]() |
IsSafeAgainstScript | Gets or sets whether the control prevents script injection by contributors and, therefore, allows contributors to edit the control. |
![]() |
Name | Gets or sets the name of the safe control entry. This property is used at design-time only. |
![]() |
NamespaceName | Gets or sets the namespace of the safe control entry. |
![]() |
ProjectItem | Gets a reference to the parent project item. |
![]() |
TypeName | Gets or sets the type name of the safe control entry. |
Top
Events
Name | Description | |
---|---|---|
![]() |
Disposed | Occurs when an object is disposed. (Inherited from INotifyObjectDisposed.) |
![]() |
Disposing | Occurs when an object is being disposed. (Inherited from INotifyObjectDisposing.) |
![]() |
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) |
Top
Remarks
The safe control entry is added only when the parent project item is included in the deployed package.