File.ReadAllLinesAsync File.ReadAllLinesAsync Method

Definition

Überlädt

ReadAllLinesAsync(String, CancellationToken) ReadAllLinesAsync(String, CancellationToken)
ReadAllLinesAsync(String, Encoding, CancellationToken) ReadAllLinesAsync(String, Encoding, CancellationToken)

ReadAllLinesAsync(String, CancellationToken) ReadAllLinesAsync(String, CancellationToken)

public static System.Threading.Tasks.Task<string[]> ReadAllLinesAsync (string path, System.Threading.CancellationToken cancellationToken = null);
static member ReadAllLinesAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string[]>

Parameter

path
String String

Gibt zurück

ReadAllLinesAsync(String, Encoding, CancellationToken) ReadAllLinesAsync(String, Encoding, CancellationToken)

public static System.Threading.Tasks.Task<string[]> ReadAllLinesAsync (string path, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = null);
static member ReadAllLinesAsync : string * System.Text.Encoding * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string[]>

Parameter

path
String String
encoding
Encoding Encoding

Gibt zurück

Gilt für: