PublishingWeb.InheritDefaultPageLayout Method

Sets the new page URL token on this PublishingWeb object to be inherited from the parent PublishingWeb object.

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

Syntax

'Declaration
Public Sub InheritDefaultPageLayout
'Usage
Dim instance As PublishingWeb

instance.InheritDefaultPageLayout()
public void InheritDefaultPageLayout()

Remarks

After calling this method, the NewPageUrlToken property will return the same value that is specified in the parent PublishingWeb object. The P:Microsoft.SharePoint.Publishing.PublishingWeb.IsInheritingNewPageUrlToken property will be True.

See Also

Reference

PublishingWeb Class

PublishingWeb Members

Microsoft.SharePoint.Publishing Namespace