Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
InheritDefaultPageLayout method

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)

public void InheritDefaultPageLayout()

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.

© 2015 Microsoft