Επεξεργασία

Κοινή χρήση μέσω


HttpCapabilitiesBase.GetConfigCapabilities(String, HttpRequest) Method

Definition

Used internally to return an instance of HttpCapabilitiesBase representing the browser that generated the specified HttpRequest.

public:
 static System::Web::Configuration::HttpCapabilitiesBase ^ GetConfigCapabilities(System::String ^ configKey, System::Web::HttpRequest ^ request);
public static System.Web.Configuration.HttpCapabilitiesBase GetConfigCapabilities (string configKey, System.Web.HttpRequest request);
static member GetConfigCapabilities : string * System.Web.HttpRequest -> System.Web.Configuration.HttpCapabilitiesBase
Public Shared Function GetConfigCapabilities (configKey As String, request As HttpRequest) As HttpCapabilitiesBase

Parameters

configKey
String

The name of the configuration section that configures browser capabilities.

request
HttpRequest

The HttpRequest generated by the browser for which to return capabilities and which is usually the current HttpRequest.

Returns

An instance of HttpCapabilitiesBase representing the browser that generated the specified HttpRequest.

Applies to