Skip to content

TPropInfo

Record describing one published property of a class.

Declaration

Source position: typinfo.pp line 1107

type
  TPropInfo = packed record
    PropTypeRef: PPTypeInfo = ^PTypeInfo;
    GetProc: CodePointer = Pointer;
    SetProc: CodePointer = Pointer;
    StoredProc: CodePointer = Pointer;
    Index: LongInt;
    Default: LongInt;
    NameIndex: SmallInt;
    PropProcs: Byte;
    IsStatic: Boolean;
    PropParams: PPropParams = ^TPropParams;
    AttributeTable: PAttributeTable = ^TAttributeTable;
    Name: ShortString;
    property PropType: PTypeInfo; {r}
    property Tail: Pointer; {r}
    property Next: PPropInfo; {r}
  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.