ClassSystem.Diagnostics.Debug SyntaxDebug.WriteIf(condition, output[, category])
DescriptionThe WriteIf method prints text to the Output Window and other debug listeners 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.WriteLine Method, Debug.WriteLineIf Method |