IViewLocationCache.InsertViewLocation Method (HttpContextBase, String, String)

 

Inserts the specified view location into the cache by using the specified HTTP context and the cache key.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Sub InsertViewLocation (
	httpContext As HttpContextBase,
	key As String,
	virtualPath As String
)

Parameters

httpContext
Type: System.Web.HttpContextBase

The HTTP context.

key
Type: System.String

The cache key.

virtualPath
Type: System.String

The virtual path.

Return to top
Show: