System.Variants.TCustomVariantType.VarDataCopyNoInd
Delphi
procedure VarDataCopyNoInd(var Dest: TVarData; const Source: TVarData);
C++
void __fastcall VarDataCopyNoInd(TVarData &Dest, const TVarData &Source);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Variants.pas System.Variants.hpp |
System.Variants | TCustomVariantType |
Description
Copies the data from one built-in Variant type to another.
Call VarDataCopyNoInd from the implementation of a TCustomVariantType descendant to clear the data from a destination Variant and then copy the TVarData record from another Variant. Unlike the VarDataCopy method, it can't handle data that is stored indirectly (when the VType field includes varByRef). However, it is often more efficient than VarDataCopy.
Dest is the TVarData record that receives the copy.
Source is the TVarData record to be copied.