AppendLine Method (String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Appends a copy of the specified string followed by the default line terminator to the end of the current StringBuilder object.

Namespace:  System.Text
Assembly:  mscorlib (in mscorlib.dll)

member AppendLine : 
        str:string -> StringBuilder 

Parameters

str
Type: System..::..String
The string to append.

Return Value

Type: System.Text..::..StringBuilder
A reference to this instance after the append operation has completed.

The default line terminator is the current value of the Environment.NewLine property.

The capacity of this instance is adjusted as needed.

Show: