Debug.WriteLine Method

Writes information about the debug to the trace listeners in the Listeners collection.

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 WriteLine(Object) Writes the value of the object's ToString method to the trace listeners in the Listeners collection.
Public method Static member WriteLine(String) Writes a message followed by a line terminator to the trace listeners in the Listeners collection.
Public method Static member WriteLine(Object, String) Writes a category name and the value of the object's ToString method to the trace listeners in the Listeners collection.
Public method Static member WriteLine(String, Object[]) Writes a formatted message followed by a line terminator to the trace listeners in the Listeners collection.
Public method Static member WriteLine(String, String) Writes a category name and message to the trace listeners in the Listeners collection.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft