Compartir a través de


ISafeControlEntry Interface

Definition

Represents a safe control entry that is added to SharePoint's web.config file when it is deployed.

public interface class ISafeControlEntry : Microsoft::VisualStudio::SharePoint::INotifyObjectDisposed, Microsoft::VisualStudio::SharePoint::INotifyObjectDisposing, System::ComponentModel::INotifyPropertyChanged
public interface ISafeControlEntry : Microsoft.VisualStudio.SharePoint.INotifyObjectDisposed, Microsoft.VisualStudio.SharePoint.INotifyObjectDisposing, System.ComponentModel.INotifyPropertyChanged
type ISafeControlEntry = interface
    interface INotifyObjectDisposing
    interface INotifyObjectDisposed
    interface INotifyPropertyChanged
Public Interface ISafeControlEntry
Implements INotifyObjectDisposed, INotifyObjectDisposing, INotifyPropertyChanged
Implements

Remarks

The safe control entry is added only when the parent project item is included in the deployed package.

Properties

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.

Events

Disposed

Occurs when an object is disposed.

(Inherited from INotifyObjectDisposed)
Disposing

Occurs when an object is being disposed.

(Inherited from INotifyObjectDisposing)

Applies to