Export (0) Print
Expand All

Debug.WriteIf Method

Writes information about the debug to the trace listeners in the Listeners collection if a condition is true.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Supported by the XNA Framework WriteIf(Boolean, Object) Writes the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.
Public method Static member Supported by the XNA Framework WriteIf(Boolean, String) Writes a message to the trace listeners in the Listeners collection if a condition is true.
Public method Static member Supported by the XNA Framework WriteIf(Boolean, Object, String) Writes a category name and the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.
Public method Static member Supported by the XNA Framework WriteIf(Boolean, String, String) Writes a category name and message to the trace listeners in the Listeners collection if a condition is true.
Top
Show:
© 2015 Microsoft