public (ICommand , ParseResult ) CreateInstanceWithResult(
ReadOnlyMemory<string> args
)
Public Function CreateInstanceWithResult (
args As ReadOnlyMemory(Of String)
) As ( As ICommand, As ParseResult)
Dim instance As CommandInfo
Dim args As ReadOnlyMemory(Of String)
Dim returnValue As ( As ICommand, As ParseResult)
returnValue = instance.CreateInstanceWithResult(args)
public:
ValueTuple<ICommand^, ParseResult> CreateInstanceWithResult(
ReadOnlyMemory<String^> args
)
If the type indicated by the CommandType property implements the ICommandWithCustomParsing parsing interface, an instance of the type is created and the ICommandWithCustomParsingParse(ReadOnlyMemoryString, CommandManager) method invoked. Otherwise, an instance of the type is created using the CommandLineParser class.
The ParseResultStatus property of the returned ParseResult will be ParseStatusNone if the command used custom parsing.