Share via


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)

Syntax

'Declaration
Sub InsertViewLocation ( _
    httpContext As HttpContextBase, _
    key As String, _
    virtualPath As String _
)
void InsertViewLocation(
    HttpContextBase httpContext,
    string key,
    string virtualPath
)
void InsertViewLocation(
    HttpContextBase^ httpContext, 
    String^ key, 
    String^ virtualPath
)

Parameters

See Also

Reference

IViewLocationCache Interface

System.Web.Mvc Namespace