Mono Class Library: System.Diagnostics.Debug Overview | Members

System.Diagnostics.Debug.Write Method

Send value and its category category to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection.

[System.Diagnostics.Conditional("DEBUG")]
public static void Write (object value, string category)

Parameters

value
An object to display
category
The message category

Remarks

Invokes the TraceListener.Write(object, string) method on all System.Diagnostics.TraceListener objects in the Debug.Listeners collection.

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0