System.Rtti.TValue.FromVariant

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function FromVariant(const Value: Variant; ArrayTypeInfo: PTypeInfo = nil): TValue; static;

C++

static TValue __fastcall FromVariant(const System::Variant &Value, System::Typinfo::PTypeInfo ArrayTypeInfo = (System::Typinfo::PTypeInfo)(0x0));

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 Variant value.

FromVariant is a static method that can be used to build TValue records with a stored Variant value. The Value parameter contains the Variant that will be stored inside the built TValue record.

See Also