public abstract CommandLineParser CreateParser()
Public MustOverride Function CreateParser As CommandLineParser
Dim instance As CommandInfo
Dim returnValue As CommandLineParser
returnValue = instance.CreateParser()
public:
virtual CommandLineParser^ CreateParser() abstract
If the UseCustomArgumentParsing property is true, the command cannot be created using the CommandLineParser class, and you must use the CreateInstanceWithCustomParsing() method or CreateInstanceWithResult(ReadOnlyMemory<String>) method instead.
InvalidOperationException | The command uses the ICommandWithCustomParsing interface. |