RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomVariantType.VarDataCopyNoInd Method

Copies the data from one built-in Variant type to another.

Pascal
procedure VarDataCopyNoInd(var Dest: TVarData; const Source: TVarData);
C++
__fastcall VarDataCopyNoInd(TVarData Dest, const TVarData Source);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!