0 out of 1 rated this helpful - Rate this topic

FileIO.WriteLinesAsync(IStorageFile, IIterable(String)) | writeLinesAsync(IStorageFile, IIterable(String)) method

Writes lines of text to the specified file.

Syntax


public static IAsyncAction WriteLinesAsync(
  IStorageFile file, 
  IEnumerable<string> lines
)

Parameters

file

Type: IStorageFile

The file that the lines are written to.

lines

Type: IIterable<String> [JavaScript/C++] | System.Collections.Generic.IEnumerable<String> [.NET]

The list of text strings to write as lines.

Return value

Type: IAsyncAction

No object or value is returned when this method completes.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

See also

FileIO
WriteLinesAsync(IStorageFile, IIterable(String), UnicodeEncoding)

 

 

Build date: 5/16/2013

© 2013 Microsoft. All rights reserved.