ClassSystem.Diagnostics.Debug SyntaxDebug.WriteLineIf(condition, output[, category])
DescriptionThe 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 GlanceThe 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 AlsoDebug Class, Debug.Write Method, Debug.WriteIf Method, Debug.WriteLine Method |