Share via


PublishingWeb.AddPublishingPage Method

Creates a new PublishingPage object in the PublishingWeb.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Function AddPublishingPage As PublishingPage
'Usage
Dim instance As PublishingWeb
Dim returnValue As PublishingPage

returnValue = instance.AddPublishingPage()
public PublishingPage AddPublishingPage()

Return Value

Type: Microsoft.SharePoint.Publishing.PublishingPage
Returns PublishingPage.

See Also

Reference

PublishingWeb Class

PublishingWeb Members

AddPublishingPage Overload

Microsoft.SharePoint.Publishing Namespace