Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AppSettingsSection::File Property

 

Gets or sets a configuration file that provides additional settings or overrides the settings specified in the appSettings element.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public:
[ConfigurationPropertyAttribute("file", DefaultValue = "")]
property String^ File {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

A configuration file that provides additional settings or overrides the settings specified in the appSettings element.

The following example stores additional appSettings values in an external configuration file and saves the name of this file in the File property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: