Partager via


IDwpFileCollection.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 Web part file to the collection.

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

Syntax

'Declaration
Function Add As IDwpFile
IDwpFile Add()

Return Value

Type: Microsoft.VisualStudio.SharePoint.Packages.IDwpFile
An object that represents the new Web part (.dwp) file added to the collection.

.NET Framework Security

See Also

Reference

IDwpFileCollection Interface

Add Overload

Microsoft.VisualStudio.SharePoint.Packages Namespace