System.Variants.TCustomVariantType.IsClear

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function IsClear(const V: TVarData): Boolean; virtual;

C++

virtual bool __fastcall IsClear(const TVarData &V);

Properties

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

Description

Indicates whether the data from a custom Variant represents a blank or unassigned value.

Override IsClear to identify when data from a Variant of the custom Variant type represents a blank or unassigned value. The global VarIsClear method calls IsClear when given a custom Variant of this type.

As Implemented in TCustomVariantType, IsClear always returns false. Override this method to return true for invalid values or special values set by the Clear method.

See Also