ConfigurationHelperService::WriteSettings Method (ExeConfigurationFileMap^, ConfigurationUserLevel, DocData^, String^, Boolean, SettingsPropertyValueCollection^)
Visual Studio 2015
Writes settings to the appropriate section after clearing existing settings.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
public: void WriteSettings( ExeConfigurationFileMap^ fileMap, ConfigurationUserLevel userLevel, DocData^ appConfigDocData, String^ sectionName, bool isUserScoped, SettingsPropertyValueCollection^ values )
Parameters
- userLevel
- Type: System.Configuration::ConfigurationUserLevel
- appConfigDocData
-
Type:
Microsoft.VisualStudio.Shell.Design.Serialization::DocData^
The DocData for the configuration file.
- sectionName
-
Type:
System::String^
The name of the section to write to.
- isUserScoped
-
Type:
System::Boolean
true if the settings are user-specific, otherwise false.
- values
-
Type:
System.Configuration::SettingsPropertyValueCollection^
The SettingsPropertyValueCollection from which to read the settings.
If values is null or empty, the settings will be cleared.
Show: