System.Rtti.TValue.FromArray

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function FromArray(ArrayTypeInfo: PTypeInfo; const Values: array of TValue): TValue; static;

C++

static TValue __fastcall FromArray(System::Typinfo::PTypeInfo ArrayTypeInfo, const TValue *Values, const System::NativeInt Values_High);

Properties

Type Visibility Source Unit Parent
function public
System.Rtti.pas
System.Rtti.hpp
System.Rtti TValue

Description

Builds a new TValue record from a given array.

FromArray is a static method that can be used to build TValue records with a stored array. The Values parameter is an array of TValue values that will be stored inside the built TValue record. The ArrayTypeInfo parameter specifies the type information of the stored array.

See Also