Data.DB.TReferenceField.GetAsVariant

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TReferenceField

Delphi

function GetAsVariant: Variant; override;

C++

virtual System::Variant __fastcall GetAsVariant();

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