ParseResultFromSuccess Method
Gets a
ParseResult instance that represents successful parsing.
Namespace: Ookii.CommandLineAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
public static ParseResult FromSuccess(
string cancelArgumentName = null,
ReadOnlyMemory<string> remainingArguments = default
)
Public Shared Function FromSuccess (
Optional cancelArgumentName As String = Nothing,
Optional remainingArguments As ReadOnlyMemory(Of String) = Nothing
) As ParseResult
Dim cancelArgumentName As String
Dim remainingArguments As ReadOnlyMemory(Of String)
Dim returnValue As ParseResult
returnValue = ParseResult.FromSuccess(cancelArgumentName,
remainingArguments)
public:
static ParseResult FromSuccess(
String^ cancelArgumentName = nullptr,
ReadOnlyMemory<String^> remainingArguments = ReadOnlyMemory<String^>()
)
- cancelArgumentName String (Optional)
-
The name of the argument that canceled parsing using CancelModeSuccess,
or if parsing was not canceled.
- remainingArguments ReadOnlyMemoryString (Optional)
- Any remaining arguments that were not parsed.
ParseResult
An instance of the
ParseResult structure.