TextStream.ReadAll Method

Syntax

oTextStreamObj.ReadAll

Return Value

A String.

Description

Reads the entire file into memory.

Rules at a Glance

  • For large files, use the ReadLine or Read methods to reduce the load on memory resources.

  • Files opened for writing or appending can't be read; you must first close the file and reopen it using the ForRead constant.

See Also

TextStream.Read Method, TextStream.ReadLine Method
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset