Export (0) Print
Expand All

TraceListener.IndentSize Property


Gets or sets the number of spaces in an indent.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public int IndentSize { get; set; }

Property Value

Type: System.Int32

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

Exception Condition

Set operation failed because the value is less than zero.

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

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft