System.Rtti.TValueArrayToArrayOfConst
Delphi
function TValueArrayToArrayOfConst(const Params: array of TValue): TArray<TVarRec>;
C++
extern DELPHI_PACKAGE System::DynamicArray<System::TVarRec> __fastcall TValueArrayToArrayOfConst(TValue const *Params, const int Params_High);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | System.Rtti |
Description
Converts a dynamic array of TValue instances to a dynamic array of TVarRec instances.
The resulting array is suitable for passing as an array of const
parameter.
- Note: The source array of TValue instances must remain valid while you use the dynamic array of TVarRec instances.