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

Applies to Windows and Windows Phone

Writes lines of text to the specified file.

Syntax


Public Shared Function WriteLinesAsync(
  file As IStorageFile,  
  lines As IEnumerable(Of String) 
) As IAsyncAction

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

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

See also

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

 

 

Show:
© 2014 Microsoft