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