共用方式為


ConfigurationHelperService Members

Include Protected Members
Include Inherited Members

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

The ConfigurationHelperService type exposes the following members.

Constructors

  Name Description
Public method ConfigurationHelperService() Initializes a new instance of ConfigurationHelperService.
Public method ConfigurationHelperService(Func<T, TResult>)

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetSectionName Formats the group name and the key name.
Public method GetSerializeAs Determines the default serialization mechanism to use for a given type,.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetUserConfigurationPath Gets the most likely path to user configuration files for the current project, based on the values of different project properties.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReadConnectionStrings Returns all the connection strings in the specified configuration that start with the specified prefix.
Public method ReadSettings Reads settings from the appropriate section.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Public method WriteConnectionStrings Writes the connection strings to the specified configuration file after deleting any existing connection strings with the specified prefix.
Public method WriteSettings Writes settings to the appropriate section after clearing existing settings.

Top

See Also

Reference

ConfigurationHelperService Class

Microsoft.VisualStudio.Shell.Design.Serialization Namespace