Поделиться через


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.

Применяется к