ParseResult Structure

Indicates the result of the last call to the CommandLineParserParse method or one of its overloads.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public readonly struct ParseResult
Inheritance
Object    ValueType    ParseResult

Properties

ArgumentName Gets the name of the argument that caused the error or cancellation.
LastException Gets the exception that occurred during the last call to the CommandLineParserParse method, if any.
RemainingArguments Gets any arguments that were not parsed by the CommandLineParser if parsing was canceled or an error occurred.
Status Gets the status of the last call to the CommandLineParserParse method.

Methods

EqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
FromCanceled Creates a ParseResult instance that represents canceled parsing.
FromException Creates a ParseResult instance that represents a parsing error.
FromSuccess Gets a ParseResult instance that represents successful parsing.
GetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)

Thread Safety

Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.

See Also