NameValueSectionHandler 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供來自組態區段的名稱 / 值組之組態資訊。
public ref class NameValueSectionHandler : System::Configuration::IConfigurationSectionHandler
C#
public class NameValueSectionHandler : System.Configuration.IConfigurationSectionHandler
type NameValueSectionHandler = class
interface IConfigurationSectionHandler
Public Class NameValueSectionHandler
Implements IConfigurationSectionHandler
- 繼承
-
NameValueSectionHandler
- 實作
此類別會實作 IConfigSectionHandler
介面。 會 NameValueSectionHandler 定義操作 XML 組態區段的規則。
Name |
初始化 NameValueSectionHandler 類別的新執行個體。 |
Key |
取得 XML 屬性名稱,做為在索引鍵 / 值組中的索引鍵使用。 |
Value |
取得 XML 屬性名稱,做為在索引鍵/數值配對中的數值。 |
Create(Object, Object, Xml |
建立新的組態處理常式,並根據指定之參數將它加入區段處理常式集合中。 |
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Get |
做為預設雜湊函式。 (繼承來源 Object) |
Get |
取得目前執行個體的 Type。 (繼承來源 Object) |
Memberwise |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
To |
傳回代表目前物件的字串。 (繼承來源 Object) |
產品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |