IViewLocationCache.InsertViewLocation(HttpContextBase, String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的 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
虛擬路徑。