System.Rtti.TValue.Make

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

class procedure Make(ABuffer: Pointer; ATypeInfo: PTypeInfo; out Result: TValue); overload; static;
class procedure Make(AValue: NativeInt; ATypeInfo: PTypeInfo; out Result: TValue); overload; static;

C++

static void __fastcall Make(void * ABuffer, System::Typinfo::PTypeInfo ATypeInfo, /* out */ TValue &Result)/* overload */;
static void __fastcall Make(NativeInt AValue, System::Typinfo::PTypeInfo ATypeInfo, /* out */ 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