Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
InvocationConfiguration.Output Property
Definition
- Namespace:
- System.CommandLine
- Assembly:
- System.CommandLine.dll
- Package:
- System.CommandLine v3.0.0-preview.5.26302.115
- Source:
- InvocationConfiguration.cs
- Source:
- InvocationConfiguration.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the standard output.
public:
property System::IO::TextWriter ^ Output { System::IO::TextWriter ^ get(); void set(System::IO::TextWriter ^ value); };
public System.IO.TextWriter Output { get; set; }
member this.Output : System.IO.TextWriter with get, set
Public Property Output As TextWriter
Property Value
The default is set to Out.
Remarks
The standard output is used by Help and other facilities that write non-error information. For testing purposes, it can be set to a new instance of StringWriter. If you want to disable the output, set it to Null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
Was this page helpful?
