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
String^ GetViewLocation(
    HttpContextBase^ httpContext,
    String^ key
abstract GetViewLocation : 
        httpContext:HttpContextBase *
        key:string -> string
Function GetViewLocation (
    httpContext As HttpContextBase,
    key As String
) As String


Return Value

Type: System.String

The view location.

See Also

IViewLocationCache Interface
System.Web.Mvc Namespace

Return to top