System.Variants.IVarInstanceReference.GetInstance

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetInstance(const V: TVarData): TObject;

C++

virtual System::TObject* __fastcall GetInstance(const TVarData &V) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
System.Variants.pas
System.Variants.hpp
System.Variants IVarInstanceReference

Description

Returns the object instance that represents the data from a Variant of the custom type.

Implement GetInstance to return the object that represents the data from a Variant of the custom Type.

The V parameter is the data from a Variant of the custom type. This data must include a reference to an object that represents the Variant's data and is returned by GetInstance.

See Also