Debug.IndentLevel プロパティ
アセンブリ: System (system.dll 内)

/** @property */ public static int get_IndentLevel () /** @property */ public static void set_IndentLevel (int value)
public static function get IndentLevel () : int public static function set IndentLevel (value : int)
インデント レベル。既定値は 0 です。


インデント レベルを設定し、デバッグ メッセージを出力する例を次に示します。
Debug.WriteLine("List of errors:") Debug.Indent() Debug.WriteLine("Error 1: File not found") Debug.WriteLine("Error 2: Directory not found") Debug.Unindent() Debug.WriteLine("End of list of errors")
Debug.WriteLine("List of errors:"); Debug.Indent(); Debug.WriteLine("Error 1: File not found"); Debug.WriteLine("Error 2: Directory not found"); Debug.Unindent(); Debug.WriteLine("End of list of errors");
Debug::WriteLine( "List of errors:" ); Debug::Indent(); Debug::WriteLine( "Error 1: File not found" ); Debug::WriteLine( "Error 2: Directory not found" ); Debug::Unindent(); Debug::WriteLine( "End of list of errors" );
Debug.WriteLine("List of errors:"); Debug.Indent(); Debug.WriteLine("Error 1: File not found"); Debug.WriteLine("Error 2: Directory not found"); Debug.Unindent(); Debug.WriteLine("End of list of errors");

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からDebug.IndentLevel プロパティを検索する場合は、下記のリンクをクリックしてください。

- Debug.IndentLevel プロパティのページへのリンク