PathIO.AppendLinesAsync Method

Definition

Overloads

AppendLinesAsync(String, IIterable<String>)

Appends lines of text to the file at the specified path or Uniform Resource Identifier (URI).

AppendLinesAsync(String, IIterable<String>, UnicodeEncoding)

Appends lines of text to the file at the specified path or Uniform Resource Identifier (URI) using the specified character encoding.

AppendLinesAsync(String, IIterable<String>)

Appends lines of text to the file at the specified path or Uniform Resource Identifier (URI).

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

Parameters

absolutePath
String

Platform::String

winrt::hstring

The path or Uniform Resource Identifier (URI) of the file that the lines are appended to.

lines

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

The list of text strings to append as lines.

Returns

No object or value is returned when this method completes.

Attributes

See also

Applies to

AppendLinesAsync(String, IIterable<String>, UnicodeEncoding)

Appends lines of text to the file at the specified path or Uniform Resource Identifier (URI) using the specified character encoding.

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

Parameters

absolutePath
String

Platform::String

winrt::hstring

The path of the file that the lines are appended to.

lines

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

The list of text strings to append as lines.

encoding
UnicodeEncoding

The character encoding of the file.

Returns

No object or value is returned when this method completes.

Attributes

See also

Applies to