WebEventFormatter.TabSize Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the tab size.

Namespace:   System.Web.Management
Assembly:  System.Web (in System.Web.dll)

public int TabSize { get; set; }

Property Value

Type: System.Int32

The number of spaces in a tab.

The TabSize property allows you to control the tab size used when writing event information. The TabSize determines the number of spaces per unit of indentation, controlled by IndentationLevel property.

The following code example shows how to use the TabSize property.

formatter.TabSize = 4;

.NET Framework
Available since 2.0
Return to top