GetEnvironmentVariable()
Contents
[
Hide
]Environment::GetEnvironmentVariable(const String&) method
Returns the value of the specified environment varibale associated with the current process.
static String System::Environment::GetEnvironmentVariable(const String &variable)
Arguments
Parameter | Type | Description |
---|---|---|
variable | const String& | The string containing the name of the variable to retrieve |
Return Value
The value of the specified variable
Environment::GetEnvironmentVariable(const String&, EnvironmentVariableTarget) method
Returns the value of the specified environment varibale from the specified location.
static String System::Environment::GetEnvironmentVariable(const String &variable, EnvironmentVariableTarget target)
Arguments
Parameter | Type | Description |
---|---|---|
variable | const String& | The string containing the name of the variable to retrieve |
target | EnvironmentVariableTarget | The location of the variable |
Return Value
The value of the specified variable
See Also
- Enum EnvironmentVariableTarget
- Class String
- Struct Environment
- Namespace System
- Library Aspose.Slides