Skip to content

TPublishableVariantType.SetProperty

Write the property.

Declaration

Source position: variants.pp line 261

public 
function TPublishableVariantType.SetProperty(var V: tvardata; 
                                            const Name: AnsiString; 
                                            const Value: tvardata)
                                             : Boolean;  override;

Description

SetProperty implements writing the property by looking for the property in the published properties of the instance returned by the IVarInstanceReference interface, and setting the value as a variant.

See also

Name Description
IVarInstanceReference Interface for variants that refer to an object.
IVarInvokeable.SetProperty Called when a property must be set.