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

BrandingExtensions.DeployMasterPage Method

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

Deploys a new masterpage

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

Syntax

public static File DeployMasterPage(this Web web, String sourceFilePath, String title, String description, String uiVersion = "15", String defaultCSSFile = "", String folderPath = "")

Parameters

web

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

sourceFilePath

  Type: System.String
  The path to the source file

title

  Type: System.String
  The title of the masterpage

description

  Type: System.String
  The description of the masterpage

(optional) uiVersion

  Type: System.String
  UIVersion of the masterpage

(optional) defaultCSSFile

  Type: System.String
  DefaultCSSFile of the masterpage

(optional) folderPath

  Type: System.String
  FolderPath of the masterpage

Return Value

Type: File

See also

© 2018 Microsoft