Name

Stream.SetEOS Method — (Versions 2.5, 2.6)

Synopsis

stream.SetEOS

The SetEOS method changes the EOS within a given Stream object and truncates any data that lies past the new EOS pointer.

Description

The SetEOS method can shorten a Stream object’s length when using the Write, WriteText, and CopyTo methods, which cannot truncate the stream themselves.

See Also

Stream.CopyTo Method, Stream.Write Method, Stream.WriteText Method

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.