Skip to content

M_CommandLine_HelpTextExtensions_Output

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

HelpTextExtensions.Output Method

redirect errs to Console.Error, and to Console.Out for help/version error

Namespace: CommandLine
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public static TextWriter Output(
	this IEnumerable<Error> errs
)

VB

<ExtensionAttribute>
Public Shared Function Output ( 
	errs As IEnumerable(Of Error)
) As TextWriter

C++

public:
[ExtensionAttribute]
static TextWriter^ Output(
	IEnumerable<Error^>^ errs
)

F#

[<ExtensionAttribute>]
static member Output : 
        errs : IEnumerable<Error> -> TextWriter 

Parameters

 

errs
Type: System.Collections.Generic.IEnumerable(Error)

Return Value

Type: TextWriter

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable(Error). When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

HelpTextExtensions Class
CommandLine Namespace

Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy