NAnt SDK Documentation - v0.92 |
|
EnvironmentFunctions.GetVariable Method
Returns the value of the specified environment variable.
[Visual Basic]
<Function(Name:="get-variable")>
Public Shared Function GetVariable( _
ByVal
name As
String _
) As
String
[C#]
[Function(Name="get-variable")]
public static
string GetVariable(
string name);
Parameters
-
name
- The environment variable of which the value should be returned.
Return Value
The value of the specified environment variable.
Exceptions
See Also
EnvironmentFunctions Class | NAnt.Core.Functions Namespace