<remove> element for <appSettings>
Removes custom application settings.
<configuration>
<appSettings>
<remove>
Syntax
<appSettings>
<remove key="Key of custom setting" />
</appSettings>
Attribute
Description | |
---|---|
key | Required attribute. Specifies the name of the key to remove. |
Parent element
Description | |
---|---|
<appSettings> | Contains custom application settings, such as file paths, XML Web service URLs, or any other custom configuration information for an application. |
Child elements
None
Example
The following example shows how to remove a custom configuration setting for ApplicationName
:
<appSettings>
<remove key="ApplicationName" />
</appSettings>
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.