Skip to content

TPropInfo

Record describing one published property of a class

Declaration

Source position: typinfo.pp line 805

Type
TPropInfo = packed record
private
  function GetPropType : PTypeInfo;
  function GetTail : Pointer;
  function GetNext : PPropInfo;
public
  PropTypeRef : PPTypeInfo;
  GetProc : CodePointer;
  SetProc : CodePointer;
  StoredProc : CodePointer;
  Index : LongInt;
  Default : LongInt;
  NameIndex : SmallInt;
  PropProcs : Byte;
  AttributeTable : PAttributeTable;
  Name : ShortString;
  property PropType : PTypeInfo;
  property Tail : Pointer;
  property Next : PPropInfo;
end

Description

The TPropInfo record describes one published property of a class. The property information of a class are stored as an array of TPropInfo records.

The Name field is stored not with 255 characters, but with just as many characters as required to store the name.