Declaration¶
Source position: variants.pp line 249
type
IVarInstanceReference = interface
['{5C176802-3F89-428D-850E-9F54F50C2293}']
function GetInstance : TObject;
end;
Inheritance¶
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.
Methods¶
| Member | Visibility | Description |
|---|---|---|
| GetInstance | default | Return the object instance referenced by the custom variant. |
See also¶
| Name | Description |
|---|---|
| IVarInstanceReference.GetInstance | Return the object instance referenced by the custom variant. |