EditableXmlConfigHelper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides methods for editing configuration settings in the user's project.
public ref class EditableXmlConfigHelper abstract : Microsoft::VisualStudio::ConnectedServices::XmlConfigHelper
[Windows::Foundation::Metadata::WebHostHidden]
public ref class EditableXmlConfigHelper abstract : Microsoft::VisualStudio::ConnectedServices::XmlConfigHelper
[Windows::Foundation::Metadata::WebHostHidden]
class EditableXmlConfigHelper abstract : Microsoft::VisualStudio::ConnectedServices::XmlConfigHelper
public abstract class EditableXmlConfigHelper : Microsoft.VisualStudio.ConnectedServices.XmlConfigHelper
type EditableXmlConfigHelper = class
inherit XmlConfigHelper
Public MustInherit Class EditableXmlConfigHelper
Inherits XmlConfigHelper
- Inheritance
Remarks
The Save method must be called to save any changes.
This class does not preserve whitespace in the appSettings section.
Constructors
EditableXmlConfigHelper() |
This constructor supports unit testing your extension and is not intended to be used directly from your production code. |
Properties
Configuration |
Gets the Configuration object that can be used to inspect the configuration settings. (Inherited from XmlConfigHelper) |
Methods
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from XmlConfigHelper) |
Dispose(Boolean) |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from XmlConfigHelper) |
GetAppSetting(String) |
Gets the string value of the setting with the specified key in the appSettings config section with the specified key and value. (Inherited from XmlConfigHelper) |
IsPrefixUsedInAppSettings(String) |
Gets a value indicating whether an appSetting key exists with the specified |
Save() |
Writes the configuration settings contained within this Configuration object to the current XML configuration file. |
SetAppSetting(String, String, String) |
Ensures there is a key-value pair in the appSettings config section with the specified key and value. |