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.
Gets the view location by using the specified HTTP context and the cache key.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Function GetViewLocation ( _
httpContext As HttpContextBase, _
key As String _
) As String
string GetViewLocation(
HttpContextBase httpContext,
string key
)
String^ GetViewLocation(
HttpContextBase^ httpContext,
String^ key
)
Parameters
- httpContext
Type: System.Web.HttpContextBase
The HTTP context.
- key
Type: System.String
The cache key.
Return Value
Type: System.String
The view location.