GetViewLocation Method
Collapse the table of content
Expand the table of content

IViewLocationCache.GetViewLocation Method (HttpContextBase, String)

 

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)

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.

Return to top
Show:
© 2016 Microsoft