BrowserCapabilitiesFactoryBase.ConfigureCustomCapabilities Method
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)
- headers
- NameValueCollection
A collection of request headers.
- browserCaps
- 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.
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: