Provides a text writer that can indent new lines by a tab string token.
For a list of all members of this type, see IndentedTextWriter Members.
System.Object
System.MarshalByRefObject
System.IO.TextWriter
System.CodeDom.Compiler.IndentedTextWriter
[Visual Basic] Public Class IndentedTextWriter Inherits TextWriter [C#] public class IndentedTextWriter : TextWriter [C++] public __gc class IndentedTextWriter : public TextWriter [JScript] public class IndentedTextWriter extends TextWriter
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
IndentedTextWriter extends a TextWriter by providing methods that insert a tab string and track the current indentation level. Text formatted with multiple indentation levels is useful for generated code, so this class is used by CodeDOM code generator implementations.
The tab string is the string that each indentation consists of. Typically the tab string contains white space.
Namespace: System.CodeDom.Compiler
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System (in System.dll)
IndentedTextWriter Members | System.CodeDom.Compiler Namespace