Sdílet prostřednictvím


ISafeControlCollection.Add Method

Definition

Adds a new safe control to the collection.

public:
 Microsoft::VisualStudio::SharePoint::Packages::ISafeControl ^ Add();
public Microsoft.VisualStudio.SharePoint.Packages.ISafeControl Add ();
abstract member Add : unit -> Microsoft.VisualStudio.SharePoint.Packages.ISafeControl
Public Function Add () As ISafeControl

Returns

An object representing the new safe control added to the collection.

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.

Applies to