RAD Studio VCL Reference
TReader.BeginReferences Method

Starts a block of commands that read components that might contain references to other components.

procedure BeginReferences;
__fastcall BeginReferences();

Do not call BeginReferences directly. BeginReferences is used internally for streaming properties that reference other components. 

Following the call to BeginReferences, the reader object creates a list of all the objects read and their names. After all of the interdependent objects are read, FixupReferences is called to resolve the named references from the stream into instance references. Finally, call EndReferences to dispose of the fixup list. 

BeginReferences is always used together with FixupReferences and EndReferences in a try...finally (Delphi) or try...__finally (C++) block. 


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