Trace.Indent Method ()

 
System_CAPS_noteNote

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

Increases the current IndentLevel by one.

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

[<ConditionalAttribute("TRACE")>]
static member Indent : unit -> unit

The following example increments and decrements the indent level and emits tracing messages.

No code example is currently available or this language may not be supported.

This example produces the following output:

List of errors:
     Error 1: File not found
     Error 2: Directory not found
End of list of errors

.NET Framework
Available since 1.1
Return to top
Show: