Export (0) Print
Expand All
Expand Minimize

Web.MasterUrl property

SharePoint 2013

Gets or sets the URL of the master page that is used for 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 MasterUrl { get; set; }

Property value

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

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

Show:
© 2015 Microsoft