Updates the collection to reflect changes to its items.
procedure Update(Item: TCollectionItem); override;
virtual __fastcall Update(TCollectionItem Item);
Override Update in a descendant class to make any necessary changes when the items in the collection change. This method is called automatically when an update is complete.
Item identifies the item that changed. If the Item parameter is nil (Delphi) or NULL (C++), then the change affects more than one item in the collection.
As implemented in TCollection, Update does nothing. Descendant classes override this method to make any necessary adjustments.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!