Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetMasterPageOverride method
Collapse the table of content
Expand the table of content

SPUtility.GetMasterPageOverride method

SharePoint 2013

If applicable, gets the master page override URL on the current HttpRequest. If one is not specified, return null.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static string GetMasterPageOverride(
	HttpContext context


Type: System.Web.HttpContext

Return value

Type: System.String
The master page override URL, if specified. Otherwise, null
© 2015 Microsoft