IViewLocationCache.GetViewLocation(HttpContextBase, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用指定的 HTTP 上下文和缓存键来获取视图位置。
public string GetViewLocation (System.Web.HttpContextBase httpContext, string key);
abstract member GetViewLocation : System.Web.HttpContextBase * string -> string
Public Function GetViewLocation (httpContext As HttpContextBase, key As String) As String
参数
- httpContext
- HttpContextBase
HTTP 上下文。
- key
- String
缓存键。
返回
视图位置。