ParseResultFromCanceled Method
Creates a
ParseResult instance that represents canceled parsing.
Namespace: Ookii.CommandLineAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
public static ParseResult FromCanceled(
string argumentName,
ReadOnlyMemory<string> remainingArguments
)
Public Shared Function FromCanceled (
argumentName As String,
remainingArguments As ReadOnlyMemory(Of String)
) As ParseResult
Dim argumentName As String
Dim remainingArguments As ReadOnlyMemory(Of String)
Dim returnValue As ParseResult
returnValue = ParseResult.FromCanceled(argumentName,
remainingArguments)
public:
static ParseResult FromCanceled(
String^ argumentName,
ReadOnlyMemory<String^> remainingArguments
)
- argumentName String
- The name of the argument that canceled parsing.
- remainingArguments ReadOnlyMemoryString
- Any remaining arguments that were not parsed.
ParseResultAn instance of the
ParseResult structure.