Delphi 2010 RTTI - how can I get a list of indexed properties?

WITH

  Cont := TRttiContext.Create;
  for Prop in Cont.GetType(TStrings).GetDeclaredProperties do
    Memo1.Lines.Add(Prop.ToString);
  Cont.Free;

I get a list of all TStrings properties except indexed properties (strings, values, ...). As I see in the Get [Declared] properties, the properties are never indexed. How can I get indexed properties?

+3
source share
1 answer

You can not. They are not included in RTTI Delphi 2010.

+4
source

Source: https://habr.com/ru/post/1759005/


All Articles