RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAggregate.Assign Method

Copies the properties of another TAggregate object.

Pascal
procedure Assign(Source: TPersistent); override;
C++
virtual __fastcall Assign(TPersistent * Source);

Call Assign to copy the properties of another object to the aggregate. If the Source object is another TAggregate object, Assign copies the values of its Expression, Active, IndexName, and GroupingLevel properties. Otherwise, Assign calls the inherited (Delphi) or parent class's (C++) method, which copies the properties of any object that can copy to a TAggregate from its AssignTo method. 

 

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