Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
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 | |
|---|---|---|
| .gif) | ConfigurationHelperService() | Initializes a new instance of ConfigurationHelperService. | 
| .gif) | ConfigurationHelperService(Func<String, String>) | Initializes a new instance of ConfigurationHelperService. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetSectionName | Formats the group name and the key name. | 
| .gif) | GetSerializeAs | Determines the default serialization mechanism to use for a given type,. | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | GetUserConfigurationPath | Gets the most likely path to user configuration files for the current project, based on the values of different project properties. | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ReadConnectionStrings | Returns all the connection strings in the specified configuration that start with the specified prefix. | 
| .gif) | ReadSettings | Reads settings from the appropriate section. | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
| .gif) | WriteConnectionStrings | Writes the connection strings to the specified configuration file after deleting any existing connection strings with the specified prefix. | 
| .gif) | 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.