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

ClassGroupOf

Returns the class group to which an instance or class belongs

Declaration

Source position: line 0

function ClassGroupOf(

  AClass: TPersistentClass

):TPersistentClass;

function ClassGroupOf(

  Instance: TPersistent

):TPersistentClass;

Description

ClassGroupOfreturns the class group to which AClassor Instancebelongs.

Errors

The result is Nilif no matching class group is found.

See also

StartClassGroup

  

Start new class group.

ActivateClassGroup

  

Activates a class group

GroupDescendentsWith

  

Add class to the group of another class.