-api-id | -api-type |
---|---|
M:Windows.Storage.PathIO.ReadLinesAsync(System.String) |
winrt method |
Reads the contents of the file at the specified path or Uniform Resource Identifier (URI) and returns lines of text.
The path of the file to read.
When this method completes successfully, it returns the contents of the file as a list (type IVector) of lines of text. Each line of text in the list is represented by a String object.