Unit 'Variants' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#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 249

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.

|

IInterface

  

Basic interface for all COM based interfaces.

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: Nov 22 2024