Edit

Share via


IndentedTextWriter.WriteLineNoTabs(String) Method

Definition

Writes the specified string to a line without tabs.

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)

Parameters

s
String

The string to write.

Examples

The following code example demonstrates writing a line without tab string indentations.

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

Applies to