xtd
0.2.0
Loading...
Searching...
No Matches
◆
read()
[3/4]
xtd::string
xtd::configuration::file_settings::read
(
const
xtd::string
&
section
,
const
xtd::string
&
key
,
const
xtd::string
&
default_value
)
noexcept
Reads a value for specified key in the specified section. If not found default value is used.
Parameters
section
The section where the key is read.
key
The key used to read a value.
default_value
A string used if value not found.
Returns
A string that represent the value associate to the key.
Remarks
Use
xtd::string::empty_string
for section paramreter to read keys of the global section.
xtd
configuration
file_settings
Generated on Sat Sep 14 2024 21:25:19 for xtd by
Gammasoft
. All rights reserved.