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

PageExtensions.AddLayoutToWikiPage Method

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

Applies a layout to a wiki page

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

Syntax

public static void AddLayoutToWikiPage(this Web web, WikiPageLayout layout, String serverRelativePageUrl)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Site to be processed - can be root web or sub site

layout

  Type: OfficeDevPnP.Core.WikiPageLayout
  Wiki page layout to be applied

serverRelativePageUrl

  Type: System.String
  Server relative url of the page to add the layout to

Return Value

Type: void

See also

© 2018 Microsoft