BrowserCapabilitiesFactory.MotcbProcessBrowsers(Boolean, NameValueCollection, HttpBrowserCapabilities) 方法
定义
初始化一个 HttpBrowserCapabilities 对象,该对象表示发出当前请求的 Motcb 浏览器的功能。Initializes an HttpBrowserCapabilities object that represents the capabilities of the Motcb browser making the current request.
此 API 支持产品基础结构,不能在代码中直接使用。
protected:
virtual void MotcbProcessBrowsers(bool ignoreApplicationBrowsers, System::Collections::Specialized::NameValueCollection ^ headers, System::Web::HttpBrowserCapabilities ^ browserCaps);
protected virtual void MotcbProcessBrowsers (bool ignoreApplicationBrowsers, System.Collections.Specialized.NameValueCollection headers, System.Web.HttpBrowserCapabilities browserCaps);
abstract member MotcbProcessBrowsers : bool * System.Collections.Specialized.NameValueCollection * System.Web.HttpBrowserCapabilities -> unit
override this.MotcbProcessBrowsers : bool * System.Collections.Specialized.NameValueCollection * System.Web.HttpBrowserCapabilities -> unit
Protected Overridable Sub MotcbProcessBrowsers (ignoreApplicationBrowsers As Boolean, headers As NameValueCollection, browserCaps As HttpBrowserCapabilities)
参数
- ignoreApplicationBrowsers
- Boolean
如果忽略应用程序级别浏览器定义文件中 Motcb 浏览器的定义,则为 true;否则为 false。true to ignore definitions for the Motcb browser in application-level browser definition files; otherwise, false.
- headers
- NameValueCollection
包含在当前请求中的标头的集合。The collection of headers included in the current request.
- browserCaps
- HttpBrowserCapabilities
要初始化的 HttpBrowserCapabilities 对象。The HttpBrowserCapabilities object to initialize.