Provides publishing-related behavior for an .aspx page that is stored in a PublishingWeb object.
public ref class PublishingPage sealed : Microsoft::SharePoint::Publishing::ScheduledItem
[Microsoft.SharePoint.Client.ClientCallableType(ClientLibraryTargets=Microsoft.SharePoint.Client.ClientLibraryTargets.NonRESTful, FactoryType=typeof(Microsoft.SharePoint.Publishing.Internal.PublishingClientObjectFactory), ObjectIdentityPropertyName="CanonicalId", ServerTypeId="E361280D-01DC-431a-9823-4AFACD06418B")] public sealed class PublishingPage : Microsoft.SharePoint.Publishing.ScheduledItem
Public NotInheritable Class PublishingPage Inherits 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 SPContentType 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.
The PublishingPage class wraps the SPListItem class. It also directly exposes the underlying SPListItem (ListItem property) so that it can more easily access additional SPListItem and File functionality.
|DisconnectedPublishingPageUrl DisconnectedPublishingPageUrl DisconnectedPublishingPageUrl||
Specifies a value that indicates whether the publishing page is disconnected.
|Audience Audience Audience||
Gets or sets a value that represents the audience that this PublishingPage is targeted to.
|Contact Contact Contact||
Gets or sets the user who currently owns this PublishingPage object.
|ContentType ContentType ContentType||
Gets the content that is available to this PublishingPage object.
|CreatedBy CreatedBy CreatedBy|
|CreatedDate CreatedDate CreatedDate||
Gets the Coordinated Universal Time (UTC) when this PublishingPage object was created.
|Description Description Description||
Gets or sets descriptive text for this PublishingPage object.
|EndDate EndDate EndDate||
Gets or sets the Coordinated Universal Time (UTC) at which this ScheduledItem class ends and is no longer visible on the published site.(Inherited from ScheduledItem)
|Fields Fields Fields|
|IncludeInCurrentNavigation IncludeInCurrentNavigation IncludeInCurrentNavigation||
Gets or sets a value that indicates whether the PublishingPage object is included by PortalSitemapProviders that have NavigationType set to "Current".
|IncludeInGlobalNavigation IncludeInGlobalNavigation IncludeInGlobalNavigation||
Gets or sets a value that indicates whether this Microsoft.SharePoint.PublishingPage object is included by the dynamic portion of the PortalSitemapProvider in the GlobalNavigation mode.
|IsDisconnected IsDisconnected IsDisconnected|
|Label Label Label|
|LastModifiedBy LastModifiedBy LastModifiedBy||
Gets the SPUser object that represents the user who last modified this PublishingPage object.
|LastModifiedDate LastModifiedDate LastModifiedDate||
Gets the Coordinated Universal Time (UTC) when this PublishingPage object was last modified.
|Layout Layout Layout||
Gets and sets the PageLayout for this PublishingPage object.
|ListItem ListItem ListItem||ScheduledItem)|
|LocalContactEmail LocalContactEmail LocalContactEmail||
Gets or sets the e-mail address of the local contact for this PublishingPage object.
|LocalContactImage LocalContactImage LocalContactImage||
Gets or sets a URL that refers to an image that is associated with the local contact for the PublishingPage object.
|LocalContactName LocalContactName LocalContactName||
Gets or sets a name that identifies the local contact of this PublishingPage object.
|Name Name Name||
Gets the URL name for this PublishingPage object.
|PublishingWeb PublishingWeb PublishingWeb||
Gets the PublishingWeb object that contains this ScheduledItem object.(Inherited from ScheduledItem)
|RequiresRouting RequiresRouting RequiresRouting||
Gets or sets a Boolean value that indicates whether the PublishingPage object needs to be routed by using the content organizer rules.
|ReviewRequestInterval ReviewRequestInterval ReviewRequestInterval||
Gets or sets the interval between content review request notifications.
|ReviewRequestIntervalUnit ReviewRequestIntervalUnit ReviewRequestIntervalUnit||
Gets or sets the unit of time used by the content review request notification interval.
|ReviewRequestTimeSpan ReviewRequestTimeSpan ReviewRequestTimeSpan||
Gets the span of time between content review request notifications.
|ScheduleEndNotificationInterval ScheduleEndNotificationInterval ScheduleEndNotificationInterval||
Gets or sets the interval of time before end-of-schedule notifications are sent.
|ScheduleEndNotificationIntervalUnit ScheduleEndNotificationIntervalUnit ScheduleEndNotificationIntervalUnit||
Gets or sets the unit of time used for the EndDate schedule notification interval.
|ScheduleEndNotificationTimeSpan ScheduleEndNotificationTimeSpan ScheduleEndNotificationTimeSpan|
|StartDate StartDate StartDate||
Gets or sets the Coordinated Universal Time (UTC) at which this ScheduledItem object becomes a visible part of the published Web site.(Inherited from ScheduledItem)
|Title Title Title||
Gets or sets the title that is displayed for this PublishingPage object.
|Uri Uri Uri||
Gets the Uniform Resource Identifier (URI) for this PublishingPage object.
|Url Url Url||
Gets the web-relative URL for PublishingPage object.
|VariationPageUrls VariationPageUrls VariationPageUrls|
|ToJson(Object) ToJson(Object) ToJson(Object)|