Bagikan melalui


IndentedTextWriter.WriteLineNoTabs(String) Metode

Definisi

Menulis string yang ditentukan ke baris tanpa tab.

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)

Parameter

s
String

String yang akan ditulis.

Contoh

Contoh kode berikut menunjukkan penulisan baris tanpa indentasi string tab.

// 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.")

Berlaku untuk