API:Data.DBXJSONReflect.TJSONConverter.OnRefType

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.DBXJSONReflect.pas
Data.DBXJSONReflect.hpp
Unit: Data.DBXJSONReflect
Parent: TJSONConverter

Delphi

procedure OnRefType(const TypeName: string; id: Integer); override;

C++

virtual void __fastcall OnRefType(const System::UnicodeString TypeName, int id);

Description

Called for a previsited instance.

Data.DBXJSONReflect.TJSONConverter.OnRefType inherits from Data.DBXJSONReflect.TConverter.OnRefType. All content below this line refers to Data.DBXJSONReflect.TConverter.OnRefType.

Called for a previsited instance.

The OnRefType event is called for a previsited instance.

Note: The marshal class allows detecting circuits in the serialization process. The unmarshal code will use the ID to restore the actual pointer.

See Also