Soap.InvokeRegistry.TDataContext.AddVariantToClear
Delphi
procedure AddVariantToClear(P: PVarData);
C++
void __fastcall AddVariantToClear(PVarData P);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Soap.InvokeRegistry.pas Soap.InvokeRegistry.hpp |
Soap.InvokeRegistry | TDataContext |
Description
Stores the value of a Variant that can be cleared when the data context is finished.
Call AddVariantToClear to add a Variant to the list of temporary Variant values that TDataContext maintains. When the TDataContext instance is freed, it clears all the Variants in this list of temporary Variant values.
Note: TDataContext does not provide access to this list. The caller must keep a reference to the Variant for use while the TDataContext instance exists.