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

TPublishableVariantType.GetProperty

Read the property.

Declaration

Source position: variants.pp line 259

public function TPublishableVariantType.GetProperty(

  var Dest: TVarData;

  const V: TVarData;

  const Name: AnsiString

):Boolean; override;

Arguments

Dest

  

Value of the property.

V

  

Variant to get property from.

Name

  

Name of property to read.

Function result

Always True.

Description

GetProperty implements reading the property by looking for the property in the published properties of the instance returned by the IVarInstanceReference interface, and returning the value as a variant.

See also

IVarInstanceReference

  

Interface for variants that refer to an object.

IVarInvokeable.GetProperty

  

Called when a property must be read.


Documentation generated on: Nov 23 2024