共用方式為


BrowserCapabilitiesFactory.CpuProcessBrowsers 方法

定義

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

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

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

參數

ignoreApplicationBrowsers
Boolean

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

headers
NameValueCollection

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

browserCaps
HttpBrowserCapabilities

要初始化的 HttpBrowserCapabilities 物件。

適用於