Partager via


ISafeControlCollection.Add Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Adds a new safe control to the collection.

Namespace:  Microsoft.VisualStudio.SharePoint.Packages
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Function Add As ISafeControl
ISafeControl Add()

Return Value

Type: Microsoft.VisualStudio.SharePoint.Packages.ISafeControl
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.

.NET Framework Security

See Also

Reference

ISafeControlCollection Interface

Add Overload

Microsoft.VisualStudio.SharePoint.Packages Namespace