[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Variants' (#rtl)

IVarInstanceReference

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Interface for variants that refer to an object

Declaration

Source position: variants.pp line 242

type IVarInstanceReference = interface

  function GetInstance();

  

Return the object instance referenced by the custom variant

end;

Inheritance

IVarInstanceReference

  

Interface for variants that refer to an object

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

IVarInstanceReference.GetInstance

  

Return the object instance referenced by the custom variant


Documentation generated on: Jun 22 2020