FileIO.AppendLinesAsync Метод

Определение

Перегрузки

AppendLinesAsync(IStorageFile, IIterable<String>)

Добавляет строки текста в указанный файл.

AppendLinesAsync(IStorageFile, IIterable<String>, UnicodeEncoding)

Добавляет строки текста в указанный файл, используя указанную кодировку символов.

AppendLinesAsync(IStorageFile, IIterable<String>)

Добавляет строки текста в указанный файл.

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

Параметры

file
IStorageFile

Файл, к которому добавляются строки.

lines

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

Список текстовых строк, добавляемых в виде строк.

Возвращаемое значение

После завершения этого метода объект или значение не возвращаются.

Атрибуты

См. также раздел

Применяется к

AppendLinesAsync(IStorageFile, IIterable<String>, UnicodeEncoding)

Добавляет строки текста в указанный файл, используя указанную кодировку символов.

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

Параметры

file
IStorageFile

Файл, к которому добавляются строки.

lines

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

Список текстовых строк, добавляемых в виде строк.

encoding
UnicodeEncoding

Кодировка символов файла.

Возвращаемое значение

После завершения этого метода объект или значение не возвращаются.

Атрибуты

См. также раздел

Применяется к