Read Method

Object: TextStream
Syntax: Read ([in] numBytes)
Returns: An array of text characters
Description: This method reads numBytes from the file, starting at the current location, and returns an array of text characters. A conversion is attempted from any binary characters to legible text characters. In Automation terms, this is a VT_BSTRtype. You can also check the AtEndOfStream property to determine if you've reached the end of file.

Copyright © 2010 SoftArtisans, Inc. All rights reserved.