次の方法で共有


CodeGenerator.Indent プロパティ

各インデント レベルにインデント幅として適用する空白文字の数を取得または設定します。

Protected Property Indent As Integer
[C#]
protected int Indent {get; set;}
[C++]
protected: __property int get_Indent();protected: __property void set_Indent(int);
[JScript]
protected function get Indent() : int;protected function set Indent(int);

プロパティ値

各インデント レベルにインデント幅として適用する空白文字の数。

解説

一般に、読みやすくなるように、コードのセグメントにはインデント幅を適用します。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

CodeGenerator クラス | CodeGenerator メンバ | System.CodeDom.Compiler 名前空間