PublishingWeb class

Provides publishing behavior for a Web instance that supports publishing.

Inheritance hierarchy


Namespace:  Microsoft.SharePoint.Client.Publishing
Assembly:  Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)


Public NotInheritable Class PublishingWeb _
    Inherits ClientObject
Dim instance As PublishingWeb
public sealed class PublishingWeb : ClientObject


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.

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


PublishingWeb members

Microsoft.SharePoint.Client.Publishing namespace