API:System.Rtti.TRttiMember.Parent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Parent: TRttiType read GetParent;

C++

__property TRttiType* Parent = {read=GetParent};

Properties

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

Description

Specifies the parent RTTI object.

System.Rtti.TRttiMember.Parent inherits from System.Rtti.TRttiObject.Parent. All content below this line refers to System.Rtti.TRttiObject.Parent.

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