System.Variants.TCustomVariantType.SimplisticClear

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

procedure SimplisticClear(var V: TVarData);

C++

void __fastcall SimplisticClear(TVarData &V);

Propriétés

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

Description

Efface un enregistrement TVarData en le réinitialisant.

Appelez SimplisticClear à partir de l'implémentation d'un descendant de TCustomVariantType pour effacer l'enregistrement TVarData d'un Variant du type personnalisé. Cette méthode ne doit être appelée que si l'enregistrement TVarData ne contient pas de membres devant être libérés.

SimplisticClear appelle simplement la méthode VarDataInit, qui réinitialise l'enregistrement TVarData transmis par V.

Voir aussi