共用方式為


BrowserCapabilitiesFactory.OperaminiProcessBrowsers 方法

定義

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

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

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

參數

ignoreApplicationBrowsers
Boolean

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

headers
NameValueCollection

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

browserCaps
HttpBrowserCapabilities

要初始化的 HttpBrowserCapabilities 物件。

適用於