Freigeben über


Empty Class

Creates an empty class that instantiates and releases quickly for use with business objects.

Empty

Remarks

The Empty class is only available within a program (.prg) file and cannot be defined in a visual class library (.vcx) class library.

The Empty base class contains no intrinsic properties, methods or events. You cannot subclass or add custom methods and events to the Empty class. However, at run time, you can add custom properties using the ADDPROPERTY( ) function or the SCATTER NAME...ADDITIVE command.

The Empty class is typically used in the following scenarios:

  • When adding properties to or removing properties from a running instance of the class using the ADDPROPERTY( ) and REMOVEPROPERTY( ) functions.
  • When using the SCATTER...NAME command with the ADDITIVE clause to populate contents from the current record.

See Also

Objects, Collections, and Classes | ADDPROPERTY( ) Function | REMOVEPROPERTY( ) Function | SCATTER Command