StreamReadEnum

Microsoft ActiveX Data Objects (ADO)

ADO 2.5 API Reference

StreamReadEnum

Specifies whether the whole stream or the next line should be read from a Stream object.

Constant Value Description
adReadAll -1 Default. Reads all bytes from the stream, from the current position onwards to the EOS marker. This is the only valid StreamReadEnum value with binary streams (Type is adTypeBinary).
adReadLine -2 Reads the next line from the stream (designated by the LineSeparator property).

ADO/WFC Equivalent

These constants do not have ADO/WFC equivalents.

See Also

Applies To: Read Method | ReadText Method

© 1998-2003 Microsoft Corporation. All rights reserved.