Freigeben über


IViewLocationCache.GetViewLocation Method

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)

Syntax

'Declaration
Function GetViewLocation ( _
    httpContext As HttpContextBase, _
    key As String _
) As String
string GetViewLocation(
    HttpContextBase httpContext,
    string key
)
String^ GetViewLocation(
    HttpContextBase^ httpContext, 
    String^ key
)

Parameters

Return Value

Type: System.String
The view location.

See Also

Reference

IViewLocationCache Interface

System.Web.Mvc Namespace