[#common-GetSettingsList]
= xref:common.adoc[common]::GetSettingsList
:relfileprefix: ../
:mrdocs:

Get combined setting value similar to GetSetting(), except if setting was specified multiple times, return a list of all the values specified&period;

== Synopsis

Declared in `&lt;common&sol;settings&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::vector&lt;SettingsValue&gt;
GetSettingsList(
    xref:common/Settings.adoc[Settings] const& settings,
    std::string const& section,
    std::string const& name,
    bool ignore&lowbar;default&lowbar;section&lowbar;config);
----

== Return Value

The list of values specified for the setting&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *settings*
| The combined settings sources to read from&period;
| *section*
| The config section to look up (e&period;g&period; the network name)&period;
| *name*
| The setting name to look up&period;
| *ignore&lowbar;default&lowbar;section&lowbar;config*
| Ignore values in the default (unsectioned) config&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
