PublishingWeb class
Provides publishing behavior for a Web instance that supports publishing.
Microsoft.SharePoint.Client.ClientObject
Microsoft.SharePoint.Client.Publishing.PublishingWeb
Namespace: Microsoft.SharePoint.Client.Publishing
Assembly: Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)
The PublishingWeb class provides publishing-specific behavior for a Web that supports publishing, including access to child PublishingPage and PublishingWeb instances, variations support, navigation settings, PageLayout and Web template restrictions, and Welcome page settings. This class wraps a Web instance that has the publishing feature activated.
Instantiate this class by using the static GetPublishingWeb(ClientRuntimeContext, Web) method or by retrieving it from a PublishingWebCollection collection.
The PublishingWeb class wraps the Web class. It also directly exposes the underlying Web through the Web property so that additional Web functionality can be easily accessed.