DefaultViewLocationCache.GetViewLocation(HttpContextBase, String) 方法

定義

使用指定的 HTTP 內容和快取索引鍵,擷取預設檢視位置。

public string GetViewLocation (System.Web.HttpContextBase httpContext, string key);
abstract member GetViewLocation : System.Web.HttpContextBase * string -> string
override this.GetViewLocation : System.Web.HttpContextBase * string -> string
Public Function GetViewLocation (httpContext As HttpContextBase, key As String) As String

參數

httpContext
HttpContextBase

HTTP 內容。

key
String

快取索引鍵。

傳回

預設檢視位置。

實作

例外狀況

httpContext 參數為 null。

適用於