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

CommandLineParser.Parse Method 

[This is preliminary documentation and subject to change.]

Parses an argument list.

[Visual Basic]
Public Sub Parse( _
   ByVal args As String(), _
   ByVal destination As Object _
)
[C#]
public void Parse(
   string[] args,
   object destination
);

Parameters

args
The arguments to parse.
destination
The destination object on which properties will be set corresponding to the specified arguments.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Util.CommandLineParser.Parse(System.String[],System.Object)

Exceptions

Exception Type Condition
ArgumentNullException destination is a null reference.
ArgumentException The Type of destination does not match the argument specification that was used to initialize the parser.

See Also

CommandLineParser Class | NAnt.Core.Util Namespace