ConfigurationHelperService.WriteSettings Method

Definition

Writes settings to the appropriate section after clearing existing settings.

public:
 void WriteSettings(System::Configuration::ExeConfigurationFileMap ^ fileMap, System::Configuration::ConfigurationUserLevel userLevel, Microsoft::VisualStudio::Shell::Design::Serialization::DocData ^ appConfigDocData, System::String ^ sectionName, bool isUserScoped, System::Configuration::SettingsPropertyValueCollection ^ values);

Parameters

appConfigDocData
DocData

The DocData for the configuration file.

sectionName
String

The name of the section to write to.

isUserScoped
Boolean

true if the settings are user-specific, otherwise false.

values
SettingsPropertyValueCollection

The SettingsPropertyValueCollection from which to read the settings.

Applies to