Share via


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.WebPartPages.WebPartPage
          Microsoft.SharePoint.Publishing.PublishingCachablePage
            Microsoft.SharePoint.Publishing.PublishingLayoutPage

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