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)

'Declaration
Function GetViewLocation ( _
	httpContext As HttpContextBase, _
	key As String _
) As String
'Usage
Dim instance As IViewLocationCache 
Dim httpContext As HttpContextBase 
Dim key As String 
Dim returnValue As String 

returnValue = instance.GetViewLocation(httpContext, _
	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.
Show: