FileIO.AppendLinesAsync Methode

Definition

Überlädt

AppendLinesAsync(IStorageFile, IIterable<String>)

Fügt Textzeilen an die angegebene Datei an.

AppendLinesAsync(IStorageFile, IIterable<String>, UnicodeEncoding)

Fügt Textzeilen mithilfe der angegebenen Zeichencodierung an die angegebene Datei an.

AppendLinesAsync(IStorageFile, IIterable<String>)

Fügt Textzeilen an die angegebene Datei an.

public:
 static IAsyncAction ^ AppendLinesAsync(IStorageFile ^ file, IIterable<Platform::String ^> ^ lines);
/// [Windows.Foundation.Metadata.Overload("AppendLinesAsync")]
 static IAsyncAction AppendLinesAsync(IStorageFile const& file, IIterable<winrt::hstring> const& lines);
[Windows.Foundation.Metadata.Overload("AppendLinesAsync")]
public static IAsyncAction AppendLinesAsync(IStorageFile file, IEnumerable<string> lines);
function appendLinesAsync(file, lines)
Public Shared Function AppendLinesAsync (file As IStorageFile, lines As IEnumerable(Of String)) As IAsyncAction

Parameter

file
IStorageFile

Die Datei, an die die Zeilen angefügt werden.

lines

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

Die Liste der Textzeichenfolgen, die als Zeilen angefügt werden sollen.

Gibt zurück

Nach Abschluss dieser Methode wird kein Objekt oder Wert zurückgegeben.

Attribute

Weitere Informationen

Gilt für:

AppendLinesAsync(IStorageFile, IIterable<String>, UnicodeEncoding)

Fügt Textzeilen mithilfe der angegebenen Zeichencodierung an die angegebene Datei an.

public:
 static IAsyncAction ^ AppendLinesAsync(IStorageFile ^ file, IIterable<Platform::String ^> ^ lines, UnicodeEncoding encoding);
/// [Windows.Foundation.Metadata.Overload("AppendLinesWithEncodingAsync")]
 static IAsyncAction AppendLinesAsync(IStorageFile const& file, IIterable<winrt::hstring> const& lines, UnicodeEncoding const& encoding);
[Windows.Foundation.Metadata.Overload("AppendLinesWithEncodingAsync")]
public static IAsyncAction AppendLinesAsync(IStorageFile file, IEnumerable<string> lines, UnicodeEncoding encoding);
function appendLinesAsync(file, lines, encoding)
Public Shared Function AppendLinesAsync (file As IStorageFile, lines As IEnumerable(Of String), encoding As UnicodeEncoding) As IAsyncAction

Parameter

file
IStorageFile

Die Datei, an die die Zeilen angefügt werden.

lines

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

Die Liste der Textzeichenfolgen, die als Zeilen angefügt werden sollen.

encoding
UnicodeEncoding

Die Zeichencodierung der Datei.

Gibt zurück

Nach Abschluss dieser Methode wird kein Objekt oder Wert zurückgegeben.

Attribute

Weitere Informationen

Gilt für: