RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFiler.DefineBinaryProperty Method

Introduces an abstract method that allows descendants to read and write unformatted data like a property.

Pascal
procedure DefineBinaryProperty(const Name: string; ReadData: TStreamProc; WriteData: TStreamProc; HasData: Boolean); virtual; abstract;
C++
virtual __fastcall DefineBinaryProperty(const AnsiString Name, TStreamProc ReadData, TStreamProc WriteData, Boolean HasData) = 0;

Each descendant filer object declares a DefineBinaryProperty method that reads or writes binary data as if the data were a property. 

 

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