Soap.InvokeRegistry.TDataContext
Delphi
TDataContext = class
C++
class PASCALIMPLEMENTATION TDataContext : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Soap.InvokeRegistry.pas Soap.InvokeRegistry.hpp |
Soap.InvokeRegistry | Soap.InvokeRegistry |
Description
TDataContext stores temporary information about a set of objects, Variants, and other related values.
TDataContext is a repository for information that belongs together. It introduces a number of methods for storing different types of information, including objects, Variants, pointers, and raw data (untyped bytes). When the TDataContext object is freed, it performs all necessary cleanup of the information it stores, freeing the objects, clearing the Variants, and so on.
Do not use TDataContext directly. It is intended as a base class for classes that need a temporary repository that serves a specific purpose. TDataContext does not allocate the internal dynamic arrays that store pointers and raw data: This task is left to descendant classes, such as TInvContext.