IViewLocationCache.InsertViewLocation Method
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)
'Declaration Sub InsertViewLocation ( _ httpContext As HttpContextBase, _ key As String, _ virtualPath As String _ ) 'Usage Dim instance As IViewLocationCache Dim httpContext As HttpContextBase Dim key As String Dim virtualPath As String instance.InsertViewLocation(httpContext, _ key, virtualPath)
Parameters
- httpContext
- Type: System.Web.HttpContextBase
The HTTP context.
- key
- Type: System.String
The cache key.
- virtualPath
- Type: System.String
The virtual path.
Show: