environment::get-variable

Returns the value of the specified environment variable.
string environment::get-variable(name)

Parameters

Name Type Description
name string The environment variable of which the value should be returned.

Return Value

The value of the specified environment variable.

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions