FileIO.ReadTextAsync | readTextAsync methods

Applies to Windows and Windows Phone

Reads the contents of the specified file and returns text.

Overload list

MethodDescription
ReadTextAsync(IStorageFile) Reads the contents of the specified file and returns text.
ReadTextAsync(IStorageFile, UnicodeEncoding) Reads the contents of the specified file using the specified character encoding and returns text.

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

 

 

Show:
© 2014 Microsoft. All rights reserved.