ParseOptionsError Property |
Gets or sets the
TextWriter used to print error information if argument
parsing fails.
Namespace:
Ookii.CommandLine
Assembly:
Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.4.0
Syntaxpublic TextWriter? Error { get; set; }
Public Property Error As TextWriter
Get
Set
Dim instance As ParseOptions
Dim value As TextWriter
value = instance.Error
instance.Error = value
public:
property TextWriter^ Error {
TextWriter^ get ();
void set (TextWriter^ value);
}
Property Value
Type:
TextWriter
The
TextWriter used to print error information, or
to print to a
LineWrappingTextWriter for the standard error stream
(
Error). The default value is
.
Remarks
If argument parsing is successful, nothing will be written.
See Also