File.WriteAllLinesAsync File.WriteAllLinesAsync Method

Definition

Überlädt

WriteAllLinesAsync(String, IEnumerable<String>, CancellationToken) WriteAllLinesAsync(String, IEnumerable<String>, CancellationToken)
WriteAllLinesAsync(String, IEnumerable<String>, Encoding, CancellationToken) WriteAllLinesAsync(String, IEnumerable<String>, Encoding, CancellationToken)

WriteAllLinesAsync(String, IEnumerable<String>, CancellationToken) WriteAllLinesAsync(String, IEnumerable<String>, CancellationToken)

public static System.Threading.Tasks.Task WriteAllLinesAsync (string path, System.Collections.Generic.IEnumerable<string> contents, System.Threading.CancellationToken cancellationToken = null);
static member WriteAllLinesAsync : string * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameter

path
String String
contents
IEnumerable<String>

Gibt zurück

WriteAllLinesAsync(String, IEnumerable<String>, Encoding, CancellationToken) WriteAllLinesAsync(String, IEnumerable<String>, Encoding, CancellationToken)

public static System.Threading.Tasks.Task WriteAllLinesAsync (string path, System.Collections.Generic.IEnumerable<string> contents, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = null);
static member WriteAllLinesAsync : string * seq<string> * System.Text.Encoding * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameter

path
String String
contents
IEnumerable<String>
encoding
Encoding Encoding

Gibt zurück

Gilt für: