System.TypInfo.GetPropInfos
Delphi
procedure GetPropInfos(TypeInfo: PTypeInfo; PropList: PPropList);
C++
extern DELPHI_PACKAGE void __fastcall GetPropInfos(PTypeInfo TypeInfo, PPropList PropList);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.TypInfo.pas System.TypInfo.hpp |
System.TypInfo | System.TypInfo |
Description
Retrieves a list of component properties.
GetPropInfos utilises Delphi's RTTI (Run Time Type Information) to retrieve a list of property information records for a component or component type.
The TypeInfo defines the component type and PropList defines a variable to receive the list of properties : a pointer to a TPropList variable
The Delphi inbuilt TypeInfo function may be used to provide the TypeInfo value.
Note: If you want the count of properties returned in PropList, use GetPropList instead.