Share via


IPolicyItemCollection.Add Method

Adds a new policy item.

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

Syntax

'Declaration
Function Add As IPolicyItem
IPolicyItem Add()

Return Value

Type: Microsoft.VisualStudio.SharePoint.Packages.IPolicyItem
An object representing the new policy item added to the collection.

.NET Framework Security

See Also

Reference

IPolicyItemCollection Interface

Add Overload

Microsoft.VisualStudio.SharePoint.Packages Namespace