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

BrandingExtensions.GetRelativeUrlForMasterByName Method

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

Returns the relative URL for a masterpage

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

Syntax

public static string GetRelativeUrlForMasterByName(this Web web, String masterPageName)

Parameters

web

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

masterPageName

  Type: System.String
  The name of the masterpage, e.g. 'default' or 'seattle'

Return Value

Type: string

See also

© 2018 Microsoft