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).

These constants do not have ADO/WFC equivalents.

Show:
© 2014 Microsoft. All rights reserved.