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