NAnt SDK Documentation - v0.92

CommandLineArgument.SetValue Method 

Assigns the specified value to the argument.

[Visual Basic]
Public Sub SetValue( _
   ByVal value As String _
)
[C#]
public void SetValue(
   string value
);

Parameters

value
The value that should be assigned to the argument.

Exceptions

Exception Type Condition
CommandLineArgumentException

Duplicate argument.

-or-

Invalid value.

See Also

CommandLineArgument Class | NAnt.Core.Util Namespace