[#ArgsManager-GetSetting]
= xref:ArgsManager.adoc[ArgsManager]::GetSetting
:relfileprefix: ../
:mrdocs:

Get setting value&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e381abc08)&rsqb;&rsqb;
xref:common/SettingsValue.adoc[common::SettingsValue]
GetSetting(std::string const& arg) const;
----

== Description

Result will be null if setting was unset, true if &quot;&hyphen;setting&quot; argument was passed false if &quot;&hyphen;nosetting&quot; argument was passed, and a string if a &quot;&hyphen;setting&equals;value&quot; argument was passed&period;

== Return Value

The setting value, or a null value if unset&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *arg*
| The setting name to get (e&period;g&period; &quot;&hyphen;foo&quot;)&period;
|===


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