DefaultViewLocationCache.GetViewLocation Method
Visual Studio 2010
Retrieves the default view location by using the specified HTTP context and cache key.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Public Function GetViewLocation ( _ httpContext As HttpContextBase, _ key As String _ ) As String
Parameters
- httpContext
- Type: System.Web.HttpContextBase
The HTTP context.
- key
- Type: System.String
The cache key
Implements
IViewLocationCache.GetViewLocation(HttpContextBase, String)| Exception | Condition |
|---|---|
| ArgumentNullException | The httpContext parameter is Nothing. |
Community Additions
ADD
Show: