Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Shared Function GetMasterPageOverride ( _
context As HttpContext _
) As String
'Usage
Dim context As HttpContext
Dim returnValue As String
returnValue = SPUtility.GetMasterPageOverride(context)
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