Windows apps
Collapse the table of content
Expand the table of content
Information
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.

Debug::Print Method (String^)

 

Writes a message followed by a line terminator to the trace listeners in the Listeners collection.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public:
[ConditionalAttribute("DEBUG")]
static void Print(
	String^ message
)

Parameters

message
Type: System::String^

The message to write.

The default line terminator is a carriage return followed by a line feed. By default, the output is written to an instance of DefaultTraceListener.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft