Rediger

Del via


ExeConfigurationFileMap Class

Definition

Defines the configuration file mapping for an .exe application. This class cannot be inherited.

public ref class ExeConfigurationFileMap sealed : System::Configuration::ConfigurationFileMap
public sealed class ExeConfigurationFileMap : System.Configuration.ConfigurationFileMap
type ExeConfigurationFileMap = class
    inherit ConfigurationFileMap
Public NotInheritable Class ExeConfigurationFileMap
Inherits ConfigurationFileMap
Inheritance
ExeConfigurationFileMap

Examples

For an example that shows how to use this class, see the ConfigurationManager.OpenMappedExeConfiguration method.

Remarks

The ExeConfigurationFileMap class provides a means to define a custom configuration file hierarchy for .exe applications. The ExeConfigurationFileMap class can specify a single path or multiple paths related to configuration files.

Constructors

ExeConfigurationFileMap()

Initializes a new instance of the ExeConfigurationFileMap class.

ExeConfigurationFileMap(String)

Initializes a new instance of the ExeConfigurationFileMap class by using the specified machine configuration file name.

Properties

ExeConfigFilename

Gets or sets the name of the configuration file.

LocalUserConfigFilename

Gets or sets the name of the configuration file for the local user.

MachineConfigFilename

Gets or sets the name of the machine configuration file name.

(Inherited from ConfigurationFileMap)
RoamingUserConfigFilename

Gets or sets the name of the configuration file for the roaming user.

Methods

Clone()

Creates a copy of the existing ExeConfigurationFileMap object.

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