BrowserCapabilitiesFactoryBase.ConfigureCustomCapabilities Method (NameValueCollection, HttpBrowserCapabilities)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Used internally at run time to configure custom hierarchies of browser capabilities.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

abstract ConfigureCustomCapabilities : 
        headers:NameValueCollection *
        browserCaps:HttpBrowserCapabilities -> unit
override ConfigureCustomCapabilities : 
        headers:NameValueCollection *
        browserCaps:HttpBrowserCapabilities -> unit

Parameters

headers
Type: System.Collections.Specialized.NameValueCollection

A collection of request headers.

browserCaps
Type: System.Web.HttpBrowserCapabilities

An object that specifies the capabilities of the browser.

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.

.NET Framework
Available since 2.0
Return to top
Show: