Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Web.CustomMasterUrl property

SharePoint 2013

Gets or sets the URL for a custom master page file to apply to the website.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public string CustomMasterUrl { get; set; }

Property value

Type: System.String
A string that contains the URL of the custom master page.

At runtime, the value in this property replaces the ~masterurl/custom.master token in content pages.

Show:
© 2015 Microsoft