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

GetObjectPropClass

Return class of property.

Declaration

Source position: typinfo.pp line 1264

function GetObjectPropClass(

  Instance: TObject;

  const PropName: string

):TClass;

function GetObjectPropClass(

  AClass: TClass;

  const PropName: string

):TClass;

Description

GetObjectPropClass returns the declared class of the property with name PropName. This may not be the actual class of the property value.

For an example, see GetObjectProp.

Errors

No checking is done whether Instance is non-nil. Specifying an invalid property name in PropName will result in an EPropertyError exception.

See also

SetMethodProp

  

Set the value of a method property.

GetOrdProp

  

Get the value of an ordinal property.

GetStrProp

  

Return the value of a string property.

GetFloatProp

  

Return value of floating point property.

GetInt64Prop

  

return value of an Int64 property.


Documentation generated on: Oct 27 2024