help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

TObject.InstanceSize

Return the size of an instance.

Declaration

Source position: objpash.inc line 164

public function TObject.InstanceSize: SizeInt;

Description

InstanceSize returns the number of bytes an instance takes in memory. This is Just the memory occupied by the class structure, and does not take into account any additional memory that might be allocated by the constructor of the class.

Errors

None.

See also

InitInstance

  

Initialize a new class instance.

ClassName

  

Return the current class name.

ClassInfo

  

Return a pointer to the type information for this class.

ClassType

  

Return a "class of" pointer for the current class

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505