Export (0) Print
Expand All
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

SPWeb.CustomMasterUrl property

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallablePropertyAttribute]
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.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.