Data.Bind.ObjectScope.TBindFieldDefs.Update

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Data.Bind.ObjectScope.pas
Data.Bind.ObjectScope.hpp
Unit: Data.Bind.ObjectScope
Parent: TBindFieldDefs

Delphi

procedure Update(AItem: TCollectionItem); overload; override;
procedure Update; reintroduce; overload;

C++

virtual void __fastcall Update(System::Classes::TCollectionItem* AItem)/* overload */;
HIDESBASE void __fastcall Update()/* overload */;

Description

Updates the collection to reflect changes to its items.

Data.Bind.ObjectScope.TBindFieldDefs.Update inherits from System.Classes.TCollection.Update. All content below this line refers to System.Classes.TCollection.Update.

Updates the collection to reflect changes to its items.

Override Update in a descendent 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. Descendent classes override this method to make any necessary adjustments.

See Also