Unit 'Variants' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

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;

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: Nov 23 2024