Table of contents
TOC
Collapse the table of content
Expand the table of content

BrandingExtensions.SetDefaultPageLayoutForSite Method

SharePoint Dev Documents|Last Updated: 6/19/2017
|
1 Contributor

Sets specific page layout the default page layout for the particular site

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static void SetDefaultPageLayoutForSite(this Web web, Web rootWeb, String pageLayoutName)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Web to process

rootWeb

  Type: Microsoft.SharePoint.Client.Web
  The rootWeb

pageLayoutName

  Type: System.String
  Name of the page layout

Return Value

Type: void

See also

© 2018 Microsoft