IVarInvokeable interface
Interface needed for custom variants that need to implement dynamic properties and methods.
Declaration
IVarInvokeable = classDescription
IVarInvokeable must be implemented by the
TCustomVariantType descendent if the custom variant
needs to implement dynamic properties and methods.
IVarInvokeable has four functions that must be implemented.
Any of these functions can be called whenever a custom variant's method is invoked or a property of the variant
is read or written using
DispInvoke.
The TCustomVariantType descendent TInvokeableVariantType
implements the needed DispInvoke to call the IVarInvokeable interface,
so you can descend from that type instead when creating a new custom variant type
and override the needed functions.
See also
Methods
DoFunction | Called for methods that return a result (functions). | |
DoProcedure | Called for methods that do not return a result (procedures). | |
GetProperty | Called when a property must be read. | |
SetProperty | Called when a property must be set. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
