The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DefaultTraceListener::WriteLine Method (String^)
.NET Framework (current version)
Writes the output to the OutputDebugString function and to the Debugger::Log method, followed by a carriage return and line feed (\r\n).
Assembly: System (in System.dll)
The default line terminator is a carriage return followed by a line feed (\r\n).
For information about the Win32 OutputDebugString debugging function, see the Platform SDK or MSDN.
This method sets the NeedIndent property to true.
The following code example formats the results of a function and uses the WriteLine(String^) method to write the last part of the message to a DefaultTraceListener.
.NET Framework
Available since 1.1
Available since 1.1
Show: