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 組態區段的規則。

建構函式

NameValueSectionHandler()

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

屬性

KeyAttributeName

取得 XML 屬性名稱,做為在索引鍵 / 值組中的索引鍵使用。

ValueAttributeName

取得 XML 屬性名稱,做為在索引鍵/數值配對中的數值。

方法

Create(Object, Object, XmlNode)

建立新的組態處理常式,並根據指定之參數將它加入區段處理常式集合中。

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於

另請參閱