NAnt SDK Documentation - v0.85-nightly-2005-11-09

AbstractSourceControlTask.SetGlobalOption Method 

[This is preliminary documentation and subject to change.]

Adds a new global option if none exists. If one does exist then the use switch is toggled on or of.

[Visual Basic]
Protected Sub SetGlobalOption( _
   ByVal name As String, _
   ByVal value As String, _
   ByVal on As Boolean _
)
[C#]
protected void SetGlobalOption(
   string name,
   string value,
   bool on
);

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
.

Remarks

Missing <remarks> documentation for M:NAnt.SourceControl.Tasks.AbstractSourceControlTask.SetGlobalOption(System.String,System.String,System.Boolean)

See Also

AbstractSourceControlTask Class | NAnt.SourceControl.Tasks Namespace