NameValueFileSectionHandler NameValueFileSectionHandler NameValueFileSectionHandler NameValueFileSectionHandler Class

Definition

Provides access to a configuration file. This type supports the .NET Framework configuration infrastructure and is not intended to be used directly from your code.

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

Remarks

The file attribute of the <appSettings> section specifies a relative path to an external file that contains custom application-configuration settings. The details provided in the file act as an <appSettings> section in the configuration file. The file is accessed using the NameValueFileSectionHandler class. The file's root element must match the section referring to it.

Constructors

NameValueFileSectionHandler() NameValueFileSectionHandler() NameValueFileSectionHandler() NameValueFileSectionHandler()

Initializes a new instance of the NameValueFileSectionHandler class.

Methods

Create(Object, Object, XmlNode) Create(Object, Object, XmlNode) Create(Object, Object, XmlNode) Create(Object, Object, XmlNode)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See Also