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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기