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.
The Save method must be called to save any changes.
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
This class does not preserve whitespace in the appSettings section.
Instances of this class are provided by the Connected Services infrastructure. It is not intended that you inherit from this class from your production code.
Constructors
EditableXmlConfigHelper() |
Initializes a new instance of the EditableXmlConfigHelper class. 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 keyPrefix. (Inherited from XmlConfigHelper) |
Save() |
Writes the configuration settings contained within this System.Configuration.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. |