Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
Class
System.Diagnostics.Debug Syntax
Debug.WriteLineIf(condition, output[, category])
Description
The WriteLineIf method prints text to the Output Window and other debug listeners, followed by a line break, when an application runs in the design-time environment, provided that condition is TRue. Usage at a Glance
The Debug class features only work in the design-time environment; the statement has no effect in a compiled application. You do not have to remove Debug-related features from your code before release. See Also
Debug Class, Debug.Write Method, Debug.WriteIf Method, Debug.WriteLine Method |
Категории