Share via


DefaultViewLocationCache.GetViewLocation(HttpContextBase, String) Method

Definition

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.

Applies to