共用方式為


IndentedTextWriter.WriteLineNoTabs(String) 方法

定義

將指定的字串寫入沒有定位點的一行。

public:
 void WriteLineNoTabs(System::String ^ s);
public void WriteLineNoTabs (string? s);
public void WriteLineNoTabs (string s);
member this.WriteLineNoTabs : string -> unit
Public Sub WriteLineNoTabs (s As String)

參數

s
String

要寫入的字串。

範例

下列程式代碼範例示範撰寫不含索引標籤字串縮排的行。

// 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.");
' Output a string using the WriteLineNoTabs method.
indentWriter.WriteLineNoTabs("This is a test phrase written with the IndentTextWriter.WriteLineNoTabs method.")

適用於