RAD Studio VCL Reference
TOleStream.Write Method

Writes Count bytes from Buffer to the current position in the Ole stream and updates the current position by Count bytes.

function Write(const Buffer; Count: Longint): Longint; override;
virtual __fastcall Longint Write(const  Buffer, Longint Count);

Use Write to write Count bytes to the Ole stream, starting at the current position. Write uses the stream interface to transfer the information from Buffer. 

All the other data-writing methods of an Ole stream (WriteBuffer, WriteComponent) call Write to do their actual writing. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!