IViewLocationCache.InsertViewLocation(HttpContextBase, String, String) 方法

定义

使用指定的 HTTP 上下文和缓存键将指定的视图位置插入到缓存中。

public void InsertViewLocation (System.Web.HttpContextBase httpContext, string key, string virtualPath);
abstract member InsertViewLocation : System.Web.HttpContextBase * string * string -> unit
Public Sub InsertViewLocation (httpContext As HttpContextBase, key As String, virtualPath As String)

参数

httpContext
HttpContextBase

HTTP 上下文。

key
String

缓存键。

virtualPath
String

虚拟路径。

适用于