Export (0) Print
Expand All

PublishingWeb.AddPublishingPage method (String, PageLayout, SPFolder)

Creates a new PublishingPage object in the PublishingWeb.

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

public PublishingPage AddPublishingPage(
	string name,
	PageLayout layout,
	SPFolder folder
)

Parameters

name
Type: System.String

The name of the new PublishingPage object.

layout
Type: Microsoft.SharePoint.Publishing.PageLayout

The layout template (SPFile) used to render the new PublishingPage object.

folder
Type: Microsoft.SharePoint.SPFolder

The layout folder (SPFolder) object that is used to store the new PublishingPage object.

Community Additions

ADD
Show:
© 2014 Microsoft