UnknownArgumentEventArgs Class

Provides data for the CommandLineParserUnknownArgument event.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public class UnknownArgumentEventArgs : EventArgs
Inheritance
Object    EventArgs    UnknownArgumentEventArgs

Constructors

UnknownArgumentEventArgs Initializes a new instance of the UnknownArgumentEventArgs class.

Properties

CancelParsing Gets or sets a value that indicates whether parsing should be canceled when the event handler returns.
Ignore Gets or sets a value that indicates whether the unknown argument will be ignored.
IsCombinedSwitchToken Gets a value that indicates whether this argument is one among a token containing several combined short name switches.
Name Gets the name of the unknown argument.
Token Gets the token for the unknown argument.
Value Gets the value of the unknown argument.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also