DefaultViewLocationCache.GetViewLocation(HttpContextBase, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the default view location by using the specified HTTP context and cache key.
public string GetViewLocation (System.Web.HttpContextBase httpContext, string key);
abstract member GetViewLocation : System.Web.HttpContextBase * string -> string
override this.GetViewLocation : System.Web.HttpContextBase * string -> string
Public Function GetViewLocation (httpContext As HttpContextBase, key As String) As String
Parameters
- httpContext
- HttpContextBase
The HTTP context.
- key
- String
The cache key
Returns
The default view location.
Implements
Exceptions
The httpContext
parameter is null.