VB.NET Language in a Nutshell

   
Debug.Write Method

Class

System.Diagnostics.Debug

Syntax

Debug.Write( Output [, Category ])

Output (required; 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 (optional; String)

A category name used to group output messages

Description

Prints text in the Output window in the design-time environment

Rules at a Glance

Programming Tips and Gotchas

In Visual Basic applications, Debug.Write executes only when an application is run in the design-time environment; the statement has no effect in a compiled application.

See Also

Debug.WriteIf Method, Debug.WriteLine Method, Debug.WriteLineIf Method

   

Категории