HttpCapabilitiesSectionHandler.Create(Object, Object, XmlNode) 方法

定义

创建包含客户端浏览器功能信息的 HttpBrowserCapabilities 类的实例。Creates an instance of the HttpBrowserCapabilities class that contains the capabilities information for the client browser.

public:
 virtual System::Object ^ Create(System::Object ^ parent, System::Object ^ configurationContext, System::Xml::XmlNode ^ section);
public object Create (object parent, object configurationContext, System.Xml.XmlNode section);
abstract member Create : obj * obj * System.Xml.XmlNode -> obj
override this.Create : obj * obj * System.Xml.XmlNode -> obj
Public Function Create (parent As Object, configurationContext As Object, section As XmlNode) As Object

参数

parent
Object

父配置节点。The parent configuration node.

configurationContext
Object

当前配置文件的配置上下文。The configuration context of the current configuration file.

section
XmlNode

配置文件中包含信息的节。The section of the configuration file that contains the information.

返回

Object

包含客户端浏览器功能信息的 HttpBrowserCapabilities 的实例。An instance of HttpBrowserCapabilities that contains the capabilities information for the client browser.

实现

注解

此类从配置节中派生其浏览器定义数据 <browserCaps>This class derives its browser definition data from the <browserCaps> configuration section. 此部分在 .NET Framework 版本2.0 中已弃用。This section is deprecated in the .NET Framework version 2.0.

适用于