This documentation is archived and is not being maintained.

TraceListener.IndentLevel Property

Gets or sets the indent level.

[Visual Basic]
Public Property IndentLevel As Integer
[C#]
public int IndentLevel {get; set;}
[C++]
public: __property int get_IndentLevel();
public: __property void set_IndentLevel(int);
[JScript]
public function get IndentLevel() : int;
public function set IndentLevel(int);

Property Value

The indent level. The default is zero.

Remarks

This property is stored on per-thread/per-request basis.

Requirements

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

Show: