Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 839 Bytes

pathio_readtextasync_829418789.md

File metadata and controls

30 lines (21 loc) · 839 Bytes
-api-id -api-type
M:Windows.Storage.PathIO.ReadTextAsync(System.String,Windows.Storage.Streams.UnicodeEncoding)
winrt method

Windows.Storage.PathIO.ReadTextAsync

-description

Reads the contents of the file at the specified path or Uniform Resource Identifier (URI) using the specified character encoding and returns text.

-parameters

-param absolutePath

The path of the file to read.

-param encoding

The character encoding of the file.

-returns

When this method completes successfully, it returns the contents of the file as a text string.

-remarks

-examples

-see-also

ReadTextAsync(String)