Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PublishingLayoutPage class

Base class for all publishing layout pages.

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

[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class PublishingLayoutPage : PublishingCachablePage

This object dynamically sets the MasterPageFile property to the value of the CustomMasterUrl property of the SPContent.Current.Web object. Any page layout that you create that will be used for creating publishing pages should derive from this class.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft