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

BrandingExtensions.SetAvailablePageLayouts Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Sets the available page layouts

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

Syntax

public static void SetAvailablePageLayouts(this Web web, Web rootWeb, IEnumerable<String> pageLayouts)

Parameters

web

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

rootWeb

  Type: Microsoft.SharePoint.Client.Web
  The rootweb

pageLayouts

  Type: System.Collections.Generic.IEnumerable<System.String>
  The page layouts to make available

Return Value

Type: void

See also

© 2018 Microsoft