PublishingSite members

Provides publishing behavior for an SPSite object that supports publishing.

The PublishingSite type exposes the following members.

Constructors

  Name Description
Public method PublishingSite Constructs an instance of a PublishingSite object that wraps the given SPSite object.

Top

Properties

  Name Description
Public property ContentTypes Gets the collection of SPContentType objects from the RootWeb property.
Public property PageLayouts Gets a collection of non-obsolete PageLayout objects from the master page gallery of the RootWeb property.
Public property PublishedLinksList Gets the Published Links list.
Public property RootWeb Gets the root SPWeb of this PublishingSite object.
Public property Site Gets the SPSite object that is wrapped by this PublishingSite instance.
Public property SiteCollectionDocumentsLibrary Gets the Site Collection Documents library.
Public property SiteCollectionImagesLibrary Gets the Site Collection Images library.

Top

Methods

  Name Description
Public methodStatic member CreatePageLayout Creates a new page layout design that is based on an instance of the PageLayoutCreationInformation object.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetPageLayouts(Boolean) Gets a collection of PageLayout objects from the master page gallery of the RootWeb() property.
Public method GetPageLayouts(SPContentType, Boolean) Gets a collection of PageLayout objects from the master page gallery of the RootWeb() property that has a AssociatedContentType property that matches a specific SPContentType object.
Public method GetType (Inherited from Object.)
Public methodStatic member IsPublishingSite Checks the SPSite object to determine whether it is also a PublishingSite object.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

PublishingSite class

Microsoft.SharePoint.Publishing namespace