System.Rtti.TRttiIndexedProperty
Delphi
TRttiIndexedProperty = class(TRttiMember)
C++
class PASCALIMPLEMENTATION TRttiIndexedProperty : public TRttiMember
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | System.Rtti |
Description
TRttiIndexedProperty is the RTTI class you can use to reflect an indexed property.
An indexed property can logically represent an array or a list. To access it you have to provide specific index information: one or more integer values or even a string.
TRttiIndexedProperty provides functionality to get the run-time type information of indexed properties. To obtain TRttiIndexedProperty instances you can use the following methods (you have to provide the property name as a string):
Once you obtained the corresponding TRttiIndexedProperty instance, you can:
- Get property specifics: whether it is writable, readable. See: IsWritable, IsReadable.
- Write/Read the property (elements). See: SetValue, GetValue.