System.Rtti.TRttiField

From RAD Studio API Documentation
Jump to: navigation, search

System.Rtti.TRttiMemberSystem.Rtti.TRttiNamedObjectSystem.Rtti.TRttiObjectSystem.TObjectTRttiField

Delphi

TRttiField = class(TRttiMember)

C++

class PASCALIMPLEMENTATION TRttiField : public TRttiMember

Properties

Type Visibility Source Unit Parent
class public
System.Rtti.pas
System.Rtti.hpp
System.Rtti System.Rtti

Description

TRttiField is the RTTI object that reflects a field.

Use TRttiField instances to gain access to information about a class, or a record field. TRttiField exposes two new properties that allow querying the type of the field and its name. TRttiField also provides a set of routines that permit getting or setting the value of the field in a given object or record instance.

Do not create instances of TRttiField or its descendants directly. Use a TRttiContext instance to work with RTTI objects.

See Also

Code Examples