This documentation is archived and is not being maintained.

TraceListener.IndentSize Property

Gets or sets the number of spaces in an indent.

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

Property Value

The number of spaces in an indent. The default is four spaces.

Remarks

The 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: