Skip to content

M_CommandLine_Text_HeadingInfo_WriteMessage

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

HeadingInfo.WriteMessage Method (String)

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

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

Syntax

C#

public void WriteMessage(
	string message
)

VB

Public Sub WriteMessage ( 
	message As String
)

C++

public:
void WriteMessage(
	String^ message
)

F#

member WriteMessage : 
        message : string -> unit 

Parameters

 

message
Type: System.String
The String message to write.

Exceptions

 

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

See Also

Reference

HeadingInfo Class
WriteMessage Overload
CommandLine.Text Namespace

Clone this wiki locally