ISafeControlCollection.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.