共用方式為


BrowserCapabilitiesFactory.OperaProcessBrowsers 方法

定義

初始化 HttpBrowserCapabilities 物件,此物件代表發出目前要求之 Opera 瀏覽器的功能。

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

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

參數

ignoreApplicationBrowsers
Boolean

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

headers
NameValueCollection

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

browserCaps
HttpBrowserCapabilities

要初始化的 HttpBrowserCapabilities 物件。

適用於

另請參閱