API:Data.DB.TReferenceField.GetAsVariant

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAsVariant: Variant; override;

C++

virtual System::Variant __fastcall GetAsVariant();

Properties

Type Visibility Source Unit Parent
function protected
Data.DB.pas
Data.DB.hpp
Data.DB TReferenceField

Description

Returns the value of the field as a Variant.

Data.DB.TReferenceField.GetAsVariant inherits from Data.DB.TObjectField.GetAsVariant. All content below this line refers to Data.DB.TObjectField.GetAsVariant.

Returns the value of the field as a Variant.

GetAsVariant creates a variant array with the fields owned and returns the obtained result.

See Also