อ่านในภาษาอังกฤษ

แชร์ผ่าน


ISafeControlEntry Interface

Definition

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

C#
public interface ISafeControlEntry : Microsoft.VisualStudio.SharePoint.INotifyObjectDisposed, Microsoft.VisualStudio.SharePoint.INotifyObjectDisposing, System.ComponentModel.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

ผลิตภัณฑ์ เวอร์ชัน
SharePoint Projects 2017, 2019, 2022