xtd
0.2.0
Loading...
Searching...
No Matches
◆
read()
[2/4]
template<typename type_t >
type_t xtd::configuration::file_settings::read
(
const
xtd::string
&
key
,
const type_t &
default_value
)
inline
Reads a value for specified key in the global section. If not found default value is used.
Parameters
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.
This method is equivalent to call
xtd::configuration::file_settings::read
(const
xtd::string
& section, const
xtd::string
& key, const
xtd::string
& default_value) with
xtd::string::empty_string
paramreter as section parameter.
xtd
configuration
file_settings
Generated on Sat Sep 14 2024 21:25:19 for xtd by
Gammasoft
. All rights reserved.