BrowserCapabilitiesFactoryBase.ConfigureCustomCapabilities Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used internally at run time to configure custom hierarchies of browser capabilities.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
virtual void ConfigureCustomCapabilities(System::Collections::Specialized::NameValueCollection ^ headers, System::Web::HttpBrowserCapabilities ^ browserCaps);
public virtual void ConfigureCustomCapabilities (System.Collections.Specialized.NameValueCollection headers, System.Web.HttpBrowserCapabilities browserCaps);
abstract member ConfigureCustomCapabilities : System.Collections.Specialized.NameValueCollection * System.Web.HttpBrowserCapabilities -> unit
override this.ConfigureCustomCapabilities : System.Collections.Specialized.NameValueCollection * System.Web.HttpBrowserCapabilities -> unit
Public Overridable Sub ConfigureCustomCapabilities (headers As NameValueCollection, browserCaps As HttpBrowserCapabilities)
Parameters
- headers
- NameValueCollection
A collection of request headers.
- browserCaps
- HttpBrowserCapabilities
An object that specifies the capabilities of the browser.
Remarks
You define browser capabilities in a .browser file. You can use the default hierarchy in the .browser file or create a custom hierarchy to define the browser capabilities. The ConfigureCustomCapabilities method processes a custom hierarchy. The custom hierarchy must contain a parentID
value in the browser
element.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應