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)

<ConditionalAttribute("DEBUG")>
Public Shared Sub Print (
	message As String
)

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: