System.VarCopy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure VarCopy(var Dest: Variant; Source: Variant);

Properties

Type Visibility Source Unit Parent
procedure public System.pas System System

Description

Copies a Variant to another Variant.

VarCopy copies the value of a given variant and places it into the destination Variant. The following table describes the parameters expected by the VarCast routine.



Parameter Description

Dest

The destination Variant.

Source

The source Variant.



Note: In Delphi, there is no need to call VarCopy; the compiler automatically inserts these calls on programmer's behalf whenever a Variant assignment is encountered.

See Also