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

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
)

Parameters

context
Type: System.Web.HttpContext

Return value

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