StringBuilder.AppendLine Method (String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Appends a copy of the specified string and the default line terminator to the end of the current StringBuilder object.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- value
- Type: System.String
The String to append.
Return Value
Type: System.Text.StringBuilderA reference to this instance after the append operation has completed.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Enlarging the value of this instance would exceed its maximum capacity. |
The default line terminator is the current value of the Environment.NewLine property.
The capacity of this instance is adjusted as needed.
Show: