Skip to content

TFieldDef.Assign

Assign the contents of one TFieldDef instance to another.

Declaration

Source position: db.pas line 203

public 
procedure TFieldDef.Assign(APersistent: TPersistent);  override;

Description

Assign assigns all published properties of APersistent to the current instance, if APersistent is an instance of class TFieldDef.

Errors

If APersistent is not of class TFieldDef, then an exception will be raised.