Language

BufferedReader.ReadLineAsync Method

Definition

Reads the next text line in a task.

public System.Threading.Tasks.Task<string?> ReadLineAsync();
member this.ReadLineAsync : unit -> System.Threading.Tasks.Task<string>

Returns

A task whose result is the line without its line terminator, or null if the input ends before any characters are read.

Remarks

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