NAnt SDK Documentation - v0.92 |
|
AbstractSourceControlTask.SetCommandOption Method
Adds a new command option if none exists. If one does exist then the use switch is toggled on or of.
[Visual Basic]
Protected Sub SetCommandOption( _
ByVal
name As
String, _
ByVal
value As
String, _
ByVal
on As
Boolean _
)
Parameters
-
name
- The common name of the option.
-
value
- The option value or command line switch of the option.
-
on
-
true
if the option should be appended to the commandline, otherwise false
.
See Also
AbstractSourceControlTask Class | NAnt.SourceControl.Tasks Namespace