DictionarySectionHandler 类

定义

提供配置部分中的键/值对配置信息。

public ref class DictionarySectionHandler : System::Configuration::IConfigurationSectionHandler
public class DictionarySectionHandler : System.Configuration.IConfigurationSectionHandler
type DictionarySectionHandler = class
    interface IConfigurationSectionHandler
Public Class DictionarySectionHandler
Implements IConfigurationSectionHandler
继承
DictionarySectionHandler
实现

注解

此类实现 IConfigSectionHandler 接口。 定义 DictionarySectionHandler 用于操作 XML 配置节的规则。

构造函数

名称 说明
DictionarySectionHandler()

初始化 DictionarySectionHandler 类的新实例。

属性

名称 说明
KeyAttributeName

获取要用作键/值对中的键的 XML 属性名称。

ValueAttributeName

获取要用作键/值对中的值的 XML 属性名称。

方法

名称 说明
Create(Object, Object, XmlNode)

创建新的配置处理程序,并根据指定的参数将其添加到节处理程序集合中。

Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于

另请参阅