Skip to content

M_CommandLine_Text_HeadingInfo_WriteMessage_1

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

HeadingInfo.WriteMessage Method (String, TextWriter)

Writes out a string and a new line using the program name specified in the constructor and message parameter.

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

Syntax

C#

public void WriteMessage(
	string message,
	TextWriter writer
)

VB

Public Sub WriteMessage ( 
	message As String,
	writer As TextWriter
)

C++

public:
void WriteMessage(
	String^ message, 
	TextWriter^ writer
)

F#

member WriteMessage : 
        message : string * 
        writer : TextWriter -> unit 

Parameters

 

message
Type: System.String
The String message to write.
writer
Type: System.IO.TextWriter
The target TextWriter derived type.

Exceptions

 

Exception Condition
ArgumentException Thrown when parameter message is null or empty string.
ArgumentNullException Thrown when parameter writer is null.

See Also

Reference

HeadingInfo Class
WriteMessage Overload
CommandLine.Text 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