Debug.Print Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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")>]
static member Print : 
        message:string -> unit

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: