If condition is true, send
message and its category
category to all
System.Diagnostics.TraceListener objects in the
Debug.Listeners collection.
[Edit]
[System.Diagnostics.Conditional("DEBUG")] public static void WriteLineIf (bool condition, object value, string category) |
|
Parameters
- condition
- Whether to display value
[Edit]
- value
- An object to display
[Edit]
- category
- The message category
[Edit]
Remarks
Requirements
Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0