Compartir a través de


ConfigurationHelperService.ReadSettings Method

Definition

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

appConfigDocData
DocData

The DocData for the configuration file.

sectionName
String

The name of the section of the configuration file.

isUserScoped
Boolean

True if the section contains user-specific settings.

Returns

SettingsPropertyValueCollection.

Applies to