Click or drag to resize
HelpersExtensionsAppendIndent Method (StringBuilder, Int32)
Appends the specified indentation to the string builder.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static void AppendIndent(
	this StringBuilder sb,
	int level
)

Parameters

sb
Type: System.TextStringBuilder
String builder object
level
Type: SystemInt32
Indentation level

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type StringBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also