次の方法で共有


IndentedTextWriter.WriteLineNoTabs メソッド

タブが適用されていない行に、指定した文字列を書き込みます。

名前空間: System.CodeDom.Compiler
アセンブリ: System (system.dll 内)

構文

'宣言
Public Sub WriteLineNoTabs ( _
    s As String _
)
'使用
Dim instance As IndentedTextWriter
Dim s As String

instance.WriteLineNoTabs(s)
public void WriteLineNoTabs (
    string s
)
public:
void WriteLineNoTabs (
    String^ s
)
public void WriteLineNoTabs (
    String s
)
public function WriteLineNoTabs (
    s : String
)

パラメータ

  • s
    書き込む文字列。

使用例

タブ文字列のインデント幅を適用せずに行を書き込むコード例を次に示します。

' Output a string using the WriteLineNoTabs method.
indentWriter.WriteLineNoTabs("This is a test phrase written with the IndentTextWriter.WriteLineNoTabs method.")
// Outputs a string using the WriteLineNoTabs method.
indentWriter.WriteLineNoTabs("This is a test phrase written with the IndentTextWriter.WriteLineNoTabs method.");
// Outputs a string using the WriteLineNoTabs method.
      indentWriter->WriteLineNoTabs( "This is a test phrase written with the IndentTextWriter.WriteLineNoTabs method." );
indentWriter.WriteLineNoTabs("This is a test phrase written with"
    +" the IndentTextWriter.WriteLineNoTabs method.");

プラットフォーム

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 2.0、1.1、1.0

参照

関連項目

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