Summary
Gets the value of a variable for the specified package.
Syntax
[Function("get-variable")]
public string GetVariable(string package, string name)
Attributes
Type |
Description |
FunctionAttribute |
Indicates that the method should be exposed as a function in NAnt build
files.
|
Parameters
Name |
Type |
Description |
package |
string |
The package for which the variable should be retrieved. |
name |
string |
The name of the variable. |
Return Value
Type |
Description |
string |
The value of variable name for the specified
package.
|