TPublishableVariantType
[Properties (by Name)][Methods (by Name)][Events (by Name)]
TInvokeableVariantType descendent that implements reading published properties
Declaration
Source position: variants.pp line 247
Type
TPublishableVariantType = class (TInvokeableVariantType, IVarInstanceReference)
protected
function GetInstance(const V: tvardata) : TObject; Virtual; Abstract;
public
function GetProperty(var Dest: tvardata; const V: tvardata;
const Name: string) : Boolean; Override;
function SetProperty(var V: tvardata; const Name: string;
const Value: tvardata) : Boolean; Override;
end
;
Description
TPublishableVariantType implements the IVarInvokeable.GetProperty and IVarInvokeable.SetProperty methods by getting or setting the published properties of the class instance returned by the IVarInstanceReference interface it implements.
Members
| Member | Type | Visibility | Description |
|---|---|---|---|
| GetInstance | Method | protected | |
| GetProperty | Method | public | Read the property |
| SetProperty | Method | public | Write the property |
Inheritance
| Class | Description |
|---|---|
| TPublishableVariantType(IVarInstanceReference) | TInvokeableVariantType descendent that implements reading published properties |
See also
| Name | Description |
|---|---|
| IVarInstanceReference | Interface for variants that refer to an object |
| IVarInvokeable.GetProperty | Called when a property must be read |
| IVarInvokeable.SetProperty | Called when a property must be set |
| TInvokeableVariantType | TCustomVariantType descendent that implements DispInvoke |