ExeConfigurationFileMap ExeConfigurationFileMap ExeConfigurationFileMap 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
ExeConfigurationFileMapExeConfigurationFileMapExeConfigurationFileMapExeConfigurationFileMap

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() ExeConfigurationFileMap() ExeConfigurationFileMap() ExeConfigurationFileMap()

Initializes a new instance of the ExeConfigurationFileMap class.

ExeConfigurationFileMap(String) ExeConfigurationFileMap(String) ExeConfigurationFileMap(String) ExeConfigurationFileMap(String)

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

Properties

ExeConfigFilename ExeConfigFilename ExeConfigFilename ExeConfigFilename

Gets or sets the name of the configuration file.

LocalUserConfigFilename LocalUserConfigFilename LocalUserConfigFilename LocalUserConfigFilename

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

MachineConfigFilename MachineConfigFilename MachineConfigFilename MachineConfigFilename

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

(Inherited from ConfigurationFileMap)
RoamingUserConfigFilename RoamingUserConfigFilename RoamingUserConfigFilename RoamingUserConfigFilename

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

Methods

Clone() Clone() Clone() Clone()

Creates a copy of the existing ExeConfigurationFileMap object.

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