ConfigurationHelperService Class
A service used by the settings UI in Visual Studio to read and write client settings into the app.config configuration file. It stores user-customizable settings in XML format
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Shell.Design.Serialization.ConfigurationHelperService
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Class ConfigurationHelperService
[CLSCompliantAttribute(false)]
public class ConfigurationHelperService
[CLSCompliantAttribute(false)]
public ref class ConfigurationHelperService
[<CLSCompliantAttribute(false)>]
type ConfigurationHelperService = class end
public class ConfigurationHelperService
The ConfigurationHelperService type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ConfigurationHelperService() | Initializes a new instance of ConfigurationHelperService. | |
ConfigurationHelperService(Func<String, String>) |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetSectionName | Formats the group name and the key name. | |
GetSerializeAs | Determines the default serialization mechanism to use for a given type,. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUserConfigurationPath | Gets the most likely path to user configuration files for the current project, based on the values of different project properties. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReadConnectionStrings | Returns all the connection strings in the specified configuration that start with the specified prefix. | |
ReadSettings | Reads settings from the appropriate section. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WriteConnectionStrings | Writes the connection strings to the specified configuration file after deleting any existing connection strings with the specified prefix. | |
WriteSettings | Writes settings to the appropriate section after clearing existing settings. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.