Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Sys.StringBuilder appendLine Method

Appends a string with a line terminator to the end of the Sys.StringBuilder instance.

Syntax

var stringBuilderVar = new Sys.StringBuilder();
stringBuilderVar.appendLine(text);

Arguments

text

(Optional) The string to append with a line terminator to the end of the StringBuilder instance.

Remarks

Use the appendLine method to append a specified string and a line terminator to the end of a Stringbuilder instance. The line terminator is a combination of a carriage return and a newline character. If no string is specified in text, only the line terminator is appended.