System.Rtti.TValue.AsVariant

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AsVariant: Variant;

C++

System::Variant __fastcall AsVariant(void);

Properties

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

Description

Converts the stored value to a Variant value.

Call AsVariant to convert the stored value to a Variant value. An exception is raised if the stored value cannot be converted to a Variant value.

See Also