IPermissionElementCollection.Add Method
Adds a new permission element to the collection.
Namespace: Microsoft.VisualStudio.SharePoint.Packages
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Function Add As IPermissionElement
IPermissionElement Add()
Return Value
Type: Microsoft.VisualStudio.SharePoint.Packages.IPermissionElement
An object representing the new permission element added to the collection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.