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:
© 2014 Microsoft