System.Rtti.TRttiObject.Parent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Parent: TRttiObject read FParent;

C++

__property TRttiObject* Parent = {read=FParent};

Properties

Type Visibility Source Unit Parent
property public
System.Rtti.pas
System.Rtti.hpp
System.Rtti TRttiObject

Description

Specifies the parent RTTI object.

Use Parent to obtain a reference to the parent RTTI object. Most Delphi types cannot be described by a single RTTI object. For example, an array has its own RTTI information and also provides such information for its element type. In this case, the RTTI object describing the element type is a child of the RTTI object describing the array type.

Parent may also carry a nil value if the RTTI object is a child of any other object.

See Also

Code Examples