CommandLineParserParse Method (String, Int32) |
Parses the specified command line arguments, starting at the specified index.
Namespace:
Ookii.CommandLine
Assembly:
Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntaxpublic Object Parse(
string[] args,
int index
)
Public Function Parse (
args As String(),
index As Integer
) As Object
Dim instance As CommandLineParser
Dim args As String()
Dim index As Integer
Dim returnValue As Object
returnValue = instance.Parse(args, index)
public:
Object^ Parse(
array<String^>^ args,
int index
)
Parameters
- args
- Type: SystemString
The command line arguments. - index
- Type: SystemInt32
The index of the first argument to parse.
Return Value
Type:
Object
An instance of the type specified by the
ArgumentsType property, or
if argument
parsing was cancelled by the
ArgumentParsed event handler.
Exceptions
See Also