Editar

Partilhar via


BrowserCapabilitiesFactoryBase.ConfigureCustomCapabilities Method

Definition

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