company logo

PropertyDefinition :: size - Property size

For basic type properties, the size value depends on what had been defined as size for the property. Thus, the size of a property is not the size of the allocated area (propertySize()), but the logical size of the property. For arrays, size is the size of of a single element in the array.

The size of Boolean properties is always 1, the size of enumerated properties is 4. Complex data types contain the number of bytes required for an instance in memory. For MEMO fields the function returns the maximum size of the MEMO property.

If the function is not called with a valid property definition it throws an exception.

Return value:  Size ( int32  )

Size of the instance or property area. For string objects, the size is usually measured in units.

Implementation details

int32 PropertyDefinition  :: size (  )