Name

Stream.Size Property — (Versions 2.5, 2.6)

Synopsis

                     size = stream.Size

The Size property represents the number of bytes in a Stream object.

Datatype

Long

Description

Because the Stream object’s size is only restricted by resources, a Long value may not correctly contain the size of a Stream if it exceeds the largest possible number a Long value can contain.

If the size of a stream is unknown, -1 is returned.

Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.