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

SetInterfaceProp

Set interface-valued property.

Declaration

Source position: typinfo.pp line 1303

procedure SetInterfaceProp(

  Instance: TObject;

  const PropName: string;

  const Value: IInterface

);

procedure SetInterfaceProp(

  Instance: TObject;

  PropInfo: PPropInfo;

  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

GetInterfaceProp

  

Return interface-typed property.

SetObjectProp

  

Set the value of an object-type property.

SetOrdProp

  

Set value of an ordinal property.

SetStrProp

  

Set value of a string property.

SetFloatProp

  

Set value of a float property.

SetInt64Prop

  

Set value of a Int64 property.

SetMethodProp

  

Set the value of a method property.


Documentation generated on: Nov 22 2024