System.Variants.TCustomVariantType.VarDataClear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure VarDataClear(var Dest: TVarData);

C++

void __fastcall VarDataClear(TVarData &Dest);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Variants.pas
System.Variants.hpp
System.Variants TCustomVariantType

Description

Clears the data from a built-in Variant type.

Call VarDataClear from the implementation of a TCustomVariantType descendant to clear the data in the TVarData record of a Variant. Do not use VarDataClear as the entire implementation of the Clear method, as this will lead to a circular reference.

Dest is the TVarData record of a Variant type, and returns the result after clearing the data.

See Also