NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Console.WriteLine (String, Object, Object, Object)

Writes out a formatted string and a new line to Console.Out that is set to the system's standard output stream by default.

[Visual Basic]
Overloads Public Shared Sub WriteLine( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object, _
   ByVal arg2 As Object _
)
[C#]
public static void WriteLine(
   string format,
   object arg0,
   object arg1,
   object arg2
);
[C++]
public: static void WriteLine(
   String* format,
   Object* arg0,
   Object* arg1,
   Object* arg2
);
[JScript]
public static function WriteLine(
   format : String,
   arg0 : Object,
   arg1 : Object,
   arg2 : Object
);

Parameters

format
Formatting string.
arg0
Object to write into format string.
arg1
Object to write into format string.
arg2
Object to write into format string.

Exceptions

Exception Type Condition
IOException An I/O error occured.

Remarks

The default line terminator is a carriage return followed by a line feed ("\r\n"). The line terminator can be modified via the NewLine property of Console.Out.

Uses the same semantics as Format.

See Also

Console Class | Console Members | System Namespace | Console.WriteLine Overload List