Debug.WriteLineIf Method |
System.Diagnostics.Debug
Debug.WriteLineIf( booleanexpression , Output [, Category ])
Condition required for output to be produced
The string to be sent to the Output window, or the object whose name is to be sent to the Output window
A category name used to group output messages
Prints text followed by a newline character in the Output window in the design- time environment, provided that booleanexpression is True
This method behaves identically to Debug.WriteLine, except that nothing is output unless booleanexpression is True .
Debug.Write Method, Debug.WriteIf Method, Debug.WriteLine Method