| [Overview][Constants][Types][Classes][Procedures and functions][Index] | 
Set interface-valued property
Source position: typinfo.pp line 865
procedure SetInterfaceProp(  | 
Instance: TObject;  | 
const PropName: string;  | 
const Value: IInterface  | 
);  | 
Instance: TObject;  | 
PropInfo: PPropInfo;  | 
const Value: IInterface  | 
);  | 
SetInterfaceProp assigns Value to the object property described by PropInfo or with name Propname for the object Instance.
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.
  | 
Return interface-typed property  | 
|
  | 
Set the value of an object-type property.  | 
|
  | 
Set value of an ordinal property  | 
|
  | 
Set value of a string property  | 
|
  | 
Set value of a float property.  | 
|
  | 
Set value of a Int64 property  | 
|
  | 
Set the value of a method property  |