ExeConfigurationFileMap Class
Defines the configuration file mapping for an .exe application. This class cannot be inherited.
Assembly: System.Configuration (in System.Configuration.dll)
System.Configuration::ConfigurationFileMap
System.Configuration::ExeConfigurationFileMap
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | Clone() | Creates a copy of the existing ExeConfigurationFileMap object.(Overrides ConfigurationFileMap::Clone().) |
![]() | 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() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
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.
For an example that shows how to use this class, see the ConfigurationManager::OpenMappedExeConfiguration method.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

