NameValueSectionHandler 類別

定義

提供來自配置區塊的名稱/值對配置資訊。

public ref class NameValueSectionHandler : System::Configuration::IConfigurationSectionHandler
public class NameValueSectionHandler : System.Configuration.IConfigurationSectionHandler
type NameValueSectionHandler = class
    interface IConfigurationSectionHandler
Public Class NameValueSectionHandler
Implements IConfigurationSectionHandler
繼承
NameValueSectionHandler
實作

備註

這個類別會實作 IConfigSectionHandler 介面。 該規則 NameValueSectionHandler 定義了操作 XML 配置區段的規則。

建構函式

名稱 Description
NameValueSectionHandler()

初始化 NameValueSectionHandler 類別的新執行個體。

屬性

名稱 Description
KeyAttributeName

取得 XML 屬性名稱作為鍵值對中的鍵。

ValueAttributeName

取得 XML 屬性名稱,作為鍵值對中的值。

方法

名稱 Description
Create(Object, Object, XmlNode)

建立新的組態處理器,並根據指定的參數將其加入區段處理程式集合。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於

另請參閱