共用方式為


PublishingPage 類別

提供.aspx 頁面PublishingWeb物件中所儲存的發佈相關的行為。

繼承階層架構

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.Publishing.ScheduledItem
      Microsoft.SharePoint.Client.Publishing.PublishingPage

命名空間:  Microsoft.SharePoint.Client.Publishing
組件:   Microsoft.SharePoint.Client.Publishing.Silverlight (在 Microsoft.SharePoint.Client.Publishing.Silverlight.dll 中);  Microsoft.SharePoint.Client.Publishing.Phone (在 Microsoft.SharePoint.Client.Publishing.Phone.dll 中)  Microsoft.SharePoint.Client.Publishing (在 Microsoft.SharePoint.Client.Publishing.dll 中)

語法

'宣告
Public NotInheritable Class PublishingPage _
    Inherits ScheduledItem
'用途
Dim instance As PublishingPage
public sealed class PublishingPage : ScheduledItem

備註

PublishingPage物件會儲存為文件文件庫中的項目指定的文件庫的PublishingWeb物件。包含定義.aspx 網頁,例如PageLayout類別、 ContentType類別、 資源的組件和其他部分的參照。將其做為文件的文件庫項目中的欄位值包含PublishingPage的內容。

許多發佈頁面可能共用常見的參照,例如 [頁面配置] 和 [資源。伺服器會自動更新這些參照PublishingPage物件中的,如果重新命名或移動系統中的參照的項目。

排程為每個PublishingPage物件相關聯。頁面會顯示排程的開始日期 (StartDate屬性) 和結束日期 (EndDate屬性) 之間的只有發佈網站上。排程行為是PublishingPage基底類別, ScheduledItem的一部分。

PublishingPage類別換行ListItem類別。它也會直接公開基礎ListItem (ListItem屬性),使其可以更輕鬆地存取其他ListItem和File功能。

使用靜態GetPublishingPage(ListItem) 的方法,或擷取PublishingPageCollection物件,您可以產生PublishingPage類別。

執行緒安全

這類型的任何公用 static (共用 於 Visual Basic 中) 成員是安全執行緒。不保證任何執行個體成員都是安全執行緒。

請參閱

參照

PublishingPage 成員

Microsoft.SharePoint.Client.Publishing 命名空間