Provides publishing-related behavior for an .aspx page that is stored in a PublishingWeb object.
Assembly: Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)
'Declaration Public NotInheritable Class PublishingPage _ Inherits ScheduledItem 'Usage Dim instance As PublishingPage
public sealed class PublishingPage : ScheduledItem
A PublishingPage object is stored as a document library item in a designated document library of a PublishingWeb object. It contains references to the parts that define the .aspx page, such as the PageLayout class, the ContentType class, resources, and other parts. It contains PublishingPage content as field values in the document library item.
Many publishing pages may share common references such as page layout and resources. The server automatically updates these references in the PublishingPage object if the referenced items are renamed or moved within the system.
A schedule is associated with each PublishingPage object. The page is visible on the published site only between the scheduled start date (StartDate property) and end date (EndDate property). The scheduling behavior is part of the PublishingPage base class, ScheduledItem.
You can instantiate the PublishingPage class by using the static GetPublishingPage(ListItem) method, or by retrieving it from a PublishingPageCollection object.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.