xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
envs.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
environment.hpp
"
6
8
namespace
xtd
{
22
[[nodiscard]]
inline
auto
envs() ->
xtd::collections::specialized::string_dictionary
{
return
xtd::environment::get_environment_variables
();}
38
[[nodiscard]]
inline
auto
envs(
xtd::environment_variable_target
target) ->
xtd::collections::specialized::string_dictionary
{
return
xtd::environment::get_environment_variables
(target);}
39
}
40
56
#define envs_ xtd::envs()
xtd::environment::get_environment_variables
static auto get_environment_variables() -> xtd::collections::specialized::string_dictionary
Retrieves all environment variable names and their values from the current process.
environment.hpp
Contains xtd::environment class.
xtd::collections::specialized::string_dictionary
xtd::collections::generic::dictionary< xtd::string, xtd::string > string_dictionary
Represents a xtd::collections::generic::dictionary with the key and the value strongly typed to be st...
Definition
string_dictionary.hpp:28
xtd::environment_variable_target
environment_variable_target
Specifies the location where an environment variable is stored or retrieved in a set or get operation...
Definition
environment_variable_target.hpp:15
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
Generated on
for xtd by
Gammasoft
. All rights reserved.