Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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)
Syntax
'Declaration
Public Function AppendLine ( _
str As String _
) As StringBuilder
public StringBuilder AppendLine(
string str
)
public:
StringBuilder^ AppendLine(
String^ str
)
member AppendLine :
str:string -> StringBuilder
public function 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.
Remarks
The default line terminator is the current value of the Environment.NewLine property.
The capacity of this instance is adjusted as needed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.