ConfigurationHelperService::ReadSettings Method (ExeConfigurationFileMap^, ConfigurationUserLevel, DocData^, String^, Boolean, SettingsPropertyCollection^)

 

Reads settings from the appropriate section.

Namespace:   Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

public:
[ConfigurationPermissionAttribute(SecurityAction::Assert, Unrestricted = true)]
SettingsPropertyValueCollection^ ReadSettings(
	ExeConfigurationFileMap^ fileMap,
	ConfigurationUserLevel userLevel,
	DocData^ appConfigDocData,
	String^ sectionName,
	bool isUserScoped,
	SettingsPropertyCollection^ settings
)

Parameters

fileMap
Type: System.Configuration::ExeConfigurationFileMap^

ExeConfigurationFileMap.

userLevel
Type: System.Configuration::ConfigurationUserLevel

ConfigurationUserLevel.

appConfigDocData
Type: Microsoft.VisualStudio.Shell.Design.Serialization::DocData^

The DocData for the configuration file.

sectionName
Type: System::String^

The name of the section of the configuration file.

isUserScoped
Type: System::Boolean

True if the section contains user-specific settings.

settings
Type: System.Configuration::SettingsPropertyCollection^

SettingsPropertyCollection.

If a setting already exists in settings, the value is updated.

Return to top
Show: