Partager via


ISafeControl Interface

Definition

Represents a safe control in the package.

public interface class ISafeControl : Microsoft::VisualStudio::SharePoint::IObservableModelElement
public interface ISafeControl : Microsoft.VisualStudio.SharePoint.IObservableModelElement
type ISafeControl = interface
    interface IObservableModelElement
Public Interface ISafeControl
Implements IObservableModelElement
Implements

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.

Properties

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.

Events

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)

Applies to