GetInterfaceProp
Return interface-typed property
Declaration
Source position: typinfo.pp line 963
  function GetInterfaceProp(Instance: TObject; const PropName: string)
                            : IInterface;
  function GetInterfaceProp(Instance: TObject; PropInfo: PPropInfo)
                            : IInterface;
Description
GetInterfaceProp returns the interface which the property described by PropInfo or with name Propname points to for object Instance.
Errors
No checking is done whether Instance is non-nil, or whether PropInfo describes a valid method property of Instance. Specifying an invalid property name in PropName will result in an EPropertyError exception.
See also
| Name | Description | 
|---|---|
| GetEnumProp | Return the value of an enumeration type property. | 
| GetFloatProp | Return value of floating point property | 
| GetInt64Prop | return value of an Int64 property | 
| GetObjectProp | Return value of an object-type property. | 
| GetOrdProp | Get the value of an ordinal property | 
| GetSetProp | Return the value of a set property. | 
| GetStrProp | Return the value of a string property. | 
| SetInterfaceProp | Set interface-valued property |