The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TraceListener.WriteIndent Method

Writes the indent to the listener you create when you implement this class, and resets the NeedIndent property to false.

[Visual Basic]
Protected Overridable Sub WriteIndent()
protected virtual void WriteIndent();
protected: virtual void WriteIndent();
protected function WriteIndent();


Writes the indent and resets NeedIndent to false. Call this method if NeedIndent is true, when you are overloading Write and WriteLine. By default, this method uses blank spaces for indentation.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

TraceListener Class | TraceListener Members | System.Diagnostics Namespace | TraceListener | DefaultTraceListener | EventLogTraceListener | TextWriterTraceListener | Debug | Trace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft