共用方式為


BrowserCapabilitiesFactory.Opera5to9ProcessBrowsers 方法

定義

初始化 HttpBrowserCapabilities 物件,這個物件表示發出目前要求之 Opera5to9 瀏覽器的功能。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

protected:
 virtual void Opera5to9ProcessBrowsers(bool ignoreApplicationBrowsers, System::Collections::Specialized::NameValueCollection ^ headers, System::Web::HttpBrowserCapabilities ^ browserCaps);
protected virtual void Opera5to9ProcessBrowsers (bool ignoreApplicationBrowsers, System.Collections.Specialized.NameValueCollection headers, System.Web.HttpBrowserCapabilities browserCaps);
abstract member Opera5to9ProcessBrowsers : bool * System.Collections.Specialized.NameValueCollection * System.Web.HttpBrowserCapabilities -> unit
override this.Opera5to9ProcessBrowsers : bool * System.Collections.Specialized.NameValueCollection * System.Web.HttpBrowserCapabilities -> unit
Protected Overridable Sub Opera5to9ProcessBrowsers (ignoreApplicationBrowsers As Boolean, headers As NameValueCollection, browserCaps As HttpBrowserCapabilities)

參數

ignoreApplicationBrowsers
Boolean

true 表示忽略應用程式層級瀏覽器定義檔案中 Opera5to9 瀏覽器的定義,否則為 false

headers
NameValueCollection

目前要求中包含的標頭集合。

browserCaps
HttpBrowserCapabilities

要初始化的 HttpBrowserCapabilities 物件。

適用於