IndentedStringBuilder.SuspendIndent Method

Definition

Temporarily disables all indentation. Restores the original indentation when the returned object is disposed.

public virtual IDisposable SuspendIndent ();
abstract member SuspendIndent : unit -> IDisposable
override this.SuspendIndent : unit -> IDisposable
Public Overridable Function SuspendIndent () As IDisposable

Returns

An object that restores the original indentation when disposed.

Applies to