IVarInvokeable.GetProperty
Called when a property must be read
Declaration
Source position: variants.pp line 220
default
function GetProperty(var Dest: tvardata; const V: tvardata;
const Name: string) : Boolean;
Description
DoFunction is called whenever a variant property is read. Dest must be filled with the value of the property on success. V is the variant on which the property is read. The Name is the name of the property to read.
The function must return True if the property was read correctly, False otherwise.
See also
Name | Description |
---|---|
IVarInvokeable.DoFunction | Called for methods that return a result (functions) |
IVarInvokeable.DoProcedure | Called for methods that do not return a result (procedures) |
IVarInvokeable.SetProperty | Called when a property must be set |