Sign in Join
FPDoc Onlineexperiment

TPublishableVariantType.SetProperty function

Member of TPublishableVariantTypepublicIn unit Variants

Write the property.

Declaration

pascal
function SetProperty(var V: tvardata; const Name: AnsiString; 
 const Value: tvardata): Boolean; override

Arguments

V

Variant to set property on.

Name

Name of property to set.

Value

Value to set property to.

Function result

Always true.

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.