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

# 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)`
`public`
`function GetProperty(); override;` |  | Read the property
`function SetProperty(); override;` |  | Write the property
`end;`

## Inheritance

`TPublishableVariantType,IVarInstanceReference` |  | TInvokeableVariantType descendent that implements reading published properties
`TInvokeableVariantType,IVarInvokeable` |  | TCustomVariantType descendent that implements DispInvoke
`TCustomVariantType,IInterface` |  | Base class for a custom variant type
`TObject` |  | Base class of all classes.

## 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.

## See also

TInvokeableVariantType |  | TCustomVariantType descendent that implements DispInvoke
IVarInvokeable.GetProperty |  | Called when a property must be read
IVarInvokeable.SetProperty |  | Called when a property must be set
IVarInstanceReference |  | Interface for variants that refer to an object