Share via


BufferedWriter.NewLine Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Writes a line separator.

[Android.Runtime.Register("newLine", "()V", "GetNewLineHandler")]
public virtual void NewLine();
Attributes

Exceptions

if an error occurs attempting to write to this writer.

Remarks

Writes a line separator. The line separator string is defined by the system property line.separator, and is not necessarily a single newline ('\n') character.

Java documentation for java.io.BufferedWriter.newLine().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35, .NET for Android API 36