Edit

Share via


NameValueSectionHandler Class

Definition

Provides name/value-pair configuration information from a configuration section.

public ref class NameValueSectionHandler : System::Configuration::IConfigurationSectionHandler
public class NameValueSectionHandler : System.Configuration.IConfigurationSectionHandler
type NameValueSectionHandler = class
    interface IConfigurationSectionHandler
Public Class NameValueSectionHandler
Implements IConfigurationSectionHandler
Inheritance
NameValueSectionHandler
Implements

Remarks

This class implements the IConfigSectionHandler interface. The NameValueSectionHandler defines rules for manipulating XML configuration sections.

Constructors

NameValueSectionHandler()

Initializes a new instance of the NameValueSectionHandler class.

Properties

KeyAttributeName

Gets the XML attribute name to use as the key in a key/value pair.

ValueAttributeName

Gets the XML attribute name to use as the value in a key/value pair.

Methods

Create(Object, Object, XmlNode)

Creates a new configuration handler and adds it to the section-handler collection based on the specified parameters.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also