WebEventFormatter.IndentationLevel Property

 

Gets or sets the indentation level.

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

public int IndentationLevel { get; set; }

Property Value

Type: System.Int32

The number of tabs used for the indentation level.

The IndentationLevel property allows you to control how the event information is indented. The base unit of indentation is defined by the TabSize property. For each indentation level, you increase the indentation one tab.

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

formatter.IndentationLevel += 1;

.NET Framework
Available since 2.0
Return to top
Show: