Information
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::IndentSize Property

 

Gets or sets the number of spaces in an indent.

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

public:
property int IndentSize {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

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

Exception Condition
ArgumentOutOfRangeException

Set operation failed because the value is less than zero.

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

.NET Framework
Available since 1.1
Return to top
Show: