[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'System' (#rtl)

TObject.FieldAddress

Return the address of a field.

Declaration

Source position: objpash.inc line 147

public function TObject.FieldAddress(

  const name: shortstring

):pointer;

Description

FieldAddressreturns the address of the field with name name. The address is the address of the field in the current class instance.

Errors

If no field with the specified name is found, Nilis returned.

See also

MethodAddress

  

Return the address of a method

MethodName

  

Return the name of a method.