IgnoreSectionHandler.Create(Object, Object, XmlNode) 方法
定义
创建新的配置处理程序并将指定的配置对象添加到节处理程序集合中。Creates a new configuration handler and adds the specified configuration object to the section-handler collection.
public:
virtual System::Object ^ Create(System::Object ^ parent, System::Object ^ configContext, System::Xml::XmlNode ^ section);
public virtual object Create (object parent, object configContext, System.Xml.XmlNode section);
abstract member Create : obj * obj * System.Xml.XmlNode -> obj
override this.Create : obj * obj * System.Xml.XmlNode -> obj
Public Overridable Function Create (parent As Object, configContext As Object, section As XmlNode) As Object
参数
- parent
- Object
对应父配置节中的配置设置。The configuration settings in a corresponding parent configuration section.
- configContext
- Object
配置节处理程序为其计算配置值的虚拟路径。The virtual path for which the configuration section handler computes configuration values. 通常,该参数是保留参数,并为 null。Normally this parameter is reserved and is null.
- section
- XmlNode
一个 XmlNode,它包含要处理的配置信息。An XmlNode that contains the configuration information to be handled. 提供对配置节 XML 内容的直接访问。Provides direct access to the XML contents of the configuration section.
返回
已创建的配置处理程序对象。The created configuration handler object.