Číst v angličtině

Sdílet prostřednictvím


ConfigurationHelperService.ReadSettings Method

Reads settings from the appropriate section.

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

Syntax

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

Parameters

  • 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.

Return Value

Type: System.Configuration.SettingsPropertyValueCollection
SettingsPropertyValueCollection .

Remarks

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

.NET Framework Security

See Also

Reference

ConfigurationHelperService Class

Microsoft.VisualStudio.Shell.Design.Serialization Namespace