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

TPublishableVariantType.SetProperty

Write the property

Declaration

Source position: variants.pp line 254

public function TPublishableVariantType.SetProperty(

  var V: TVarData;

  const Name: string;

  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

IVarInstanceReference

  

Interface for variants that refer to an object

IVarInvokeable.SetProperty

  

Called when a property must be set


Documentation generated on: Jun 22 2020