Name

Debug.WriteLine Method

Class

System.Diagnostics.Debug

Syntax

Debug.WriteLine(Output[, Category])
Output

Use: Required

Data Type: String or Object

The string to be sent to the Output window, or the object whose name is to be sent to the Output window

Category

Use: Optional

Data Type: String

A category name used to group output messages

Description

Prints text, followed by a newline command, in the Output window in the design-time environment

Rules at a Glance

This method is identical to Debug.Write except that a newline command is sent to the Output window after any text is written.

Get VB .NET Language in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.