PublishingLayoutPage class

Base class for all publishing layout pages.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.TemplateControl
      System.Web.UI.Page
        Microsoft.SharePoint.WebControls.DeltaPage
          Microsoft.SharePoint.WebPartPages.WebPartPage
            Microsoft.SharePoint.Publishing.PublishingCachablePage
              Microsoft.SharePoint.Publishing.PublishingLayoutPage
                Microsoft.SharePoint.Publishing.Design.ConversionErrorPageLayout

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

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class PublishingLayoutPage _
    Inherits PublishingCachablePage
'Usage
Dim instance As PublishingLayoutPage
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class PublishingLayoutPage : PublishingCachablePage

Remarks

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.

Thread safety

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

See also

Reference

PublishingLayoutPage members

Microsoft.SharePoint.Publishing namespace

OnPreInit