Sign in Join
FPDoc Onlineexperiment

SetInterfaceProp procedure

In unit TypInfo

Set interface-valued property.

Declaration

pascal
procedure SetInterfaceProp(Instance: TObject; const PropName: string; 
 const Value: IInterface)

Description

SetInterfaceProp assigns Value to the object property described by PropInfo or with name Propname for the object Instance.

Errors

No checking is done whether Instance is non-nil, or whether PropInfo describes a valid interface property of Instance. Specifying an invalid property name in PropName will result in an EPropertyError exception.

See also

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