ConfigurationHelperService.ReadSettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads settings from the appropriate section.
public:
System::Configuration::SettingsPropertyValueCollection ^ ReadSettings(System::Configuration::ExeConfigurationFileMap ^ fileMap, System::Configuration::ConfigurationUserLevel userLevel, Microsoft::VisualStudio::Shell::Design::Serialization::DocData ^ appConfigDocData, System::String ^ sectionName, bool isUserScoped, System::Configuration::SettingsPropertyCollection ^ settings);
public System.Configuration.SettingsPropertyValueCollection ReadSettings (System.Configuration.ExeConfigurationFileMap fileMap, System.Configuration.ConfigurationUserLevel userLevel, Microsoft.VisualStudio.Shell.Design.Serialization.DocData appConfigDocData, string sectionName, bool isUserScoped, System.Configuration.SettingsPropertyCollection settings);
member this.ReadSettings : System.Configuration.ExeConfigurationFileMap * System.Configuration.ConfigurationUserLevel * Microsoft.VisualStudio.Shell.Design.Serialization.DocData * string * bool * System.Configuration.SettingsPropertyCollection -> System.Configuration.SettingsPropertyValueCollection
Public Function ReadSettings (fileMap As ExeConfigurationFileMap, userLevel As ConfigurationUserLevel, appConfigDocData As DocData, sectionName As String, isUserScoped As Boolean, settings As SettingsPropertyCollection) As SettingsPropertyValueCollection
Parameters
- userLevel
- ConfigurationUserLevel
- sectionName
- String
The name of the section of the configuration file.
- isUserScoped
- Boolean
True if the section contains user-specific settings.
Returns
SettingsPropertyValueCollection.