Soap.InvokeRegistry.TDataContext.AddDynArrayToClear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddDynArrayToClear(P: Pointer; Info: PTypeInfo);

C++

void __fastcall AddDynArrayToClear(void * P, System::Typinfo::PTypeInfo Info);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.InvokeRegistry.pas
Soap.InvokeRegistry.hpp
Soap.InvokeRegistry TDataContext

Description

Stores a dynamic array that can be cleared when the data context is finished.

Call AddDynArrayToClear to add a dynamic array to the list of temporary dynamic arrays that TDataContext maintains. When the TDataContext instance is freed, it clears all dynamic arrays in this list of temporary arrays.

P is a pointer to the dynamic array.

Info is the TypeInfo pointer for the dynamic array.

Note: TDataContext does not provide access to this list. The caller must keep a reference to the dynamic arrays for use while the TDataContext instance exists.

See Also