Επεξεργασία

Κοινή χρήση μέσω


NameValueFileSectionHandler Class

Definition

Provides access to a configuration file. This type supports the .NET 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
NameValueFileSectionHandler
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()

Initializes a new instance of the NameValueFileSectionHandler class.

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