System.Rtti.TValue.Make
Delphi
class procedure Make(ABuffer: Pointer; ATypeInfo: PTypeInfo; var Result: TValue); overload; static;
class procedure Make(AValue: NativeInt; ATypeInfo: PTypeInfo; var Result: TValue); overload; static;
class procedure Make<T>(const Value: T; var Result: TValue); overload; static; inline;
C++
static void __fastcall Make(void * ABuffer, System::Typinfo::PTypeInfo ATypeInfo, TValue &Result)/* overload */;
static void __fastcall Make(NativeInt AValue, System::Typinfo::PTypeInfo ATypeInfo, TValue &Result)/* overload */;
void __fastcall TValue::Make(const T Value, TValue &Result)/* overload */
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TValue |
Description
Initializes a TValue record.
Make is a static method that can be used to build a TValue record with the provided data.
Make takes as arguments a pointer to the raw data to store in the TValue record and the type information of the value stored in the record. As a result, Make builds up a TValue record that stores the given data.
See Also
Code Examples