Debug.IndentSize 属性  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置缩进的空格数。
public:
 static property int IndentSize { int get(); void set(int value); };public static int IndentSize { get; set; }static member IndentSize : int with get, setPublic Shared Property IndentSize As Integer属性值
缩进的空格数。 默认值为四。
注解
将 TextWriterTraceListener 此数字解释为空格。 忽略 EventLogTraceListener 此值。
对于.NET Framework应用,还可以通过编辑与应用程序名称对应的配置文件来设置 AutoFlushIndentSize 和 Debug 属性。 配置文件的格式应如以下示例所示。
<configuration>
  <system.diagnostics>
    <trace autoflush="true" indentsize="7" />
  </system.diagnostics>
</configuration>