public Object? Parse(
string[] args,
int index = 0
)
Public Function Parse (
args As String(),
Optional index As Integer = 0
) 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 = 0
)
If the return value is , check the HelpRequested property to see if usage help should be displayed.
ArgumentNullException | args is . |
ArgumentOutOfRangeException | index does not fall within the bounds of args. |
CommandLineArgumentException | An error occurred parsing the command line. Check the Category property for the exact reason for the error. |