GetEnvironmentVariables()
Environment::GetEnvironmentVariables() method
Returns a dictionary containing all environment variables names and their values associated with the current process.
static Collections::Generic::DictionaryPtr<String, String> System::Environment::GetEnvironmentVariables()
Environment::GetEnvironmentVariables(EnvironmentVariableTarget) method
Returns a dictionary containing all environment variables’ names and their values from the specified location.
static Collections::Generic::DictionaryPtr<String, String> System::Environment::GetEnvironmentVariables(EnvironmentVariableTarget target)
Arguments
Parameter | Type | Description |
---|---|---|
target | EnvironmentVariableTarget | The location of the variables |
Return Value
A dictionary containing all environment variables’ names and their values from the specified location
See Also
- Enum EnvironmentVariableTarget
- Class DictionaryPtr
- Class String
- Struct Environment
- Namespace System
- Library Aspose.Slides