Sign in Join
FPDoc Onlineexperiment

IVarInstanceReference interface

In unit Variants

Interface for variants that refer to an object.

Declaration

pascal
IVarInstanceReference = class

Description

IVarInstanceReference is used to get the instance of an object from a custom variant. It has only one method, GetInstance which is used to retrieve the instance of a variant that contains an object.

The TPublishableVariantType descendent of TInvokeableVariantType uses this interface to implement reading published properties from the instance.

See also

Methods

GetInstanceReturn the object instance referenced by the custom variant.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.