API:FireDAC.Comp.BatchMove.TFDBatchMoveMappings.Assign

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
FireDAC.Comp.BatchMove.pas
FireDAC.Comp.BatchMove.hpp
Unit: FireDAC.Comp.BatchMove
Parent: TFDBatchMoveMappings

Delphi

procedure Assign(ASource: TPersistent); override;

C++

virtual void __fastcall Assign(System::Classes::TPersistent* ASource);

Description

Copies the contents of the Source collection to the current object.

FireDAC.Comp.BatchMove.TFDBatchMoveMappings.Assign inherits from System.Classes.TCollection.Assign. All content below this line refers to System.Classes.TCollection.Assign.

Copies the contents of the Source collection to the current object.

Use Assign to copy the contents of one TCollection instance to another. The Assign method deletes all items from the destination collection (the object where it is executed), then adds a copy of each item in the source collection's Items array.

Source is another object (typically another collection) that contains the items that replace this collection's items.

See Also

Code Examples