Skip to content

ClassGroupOf

Returns the class group to which an instance or class belongs.

Declaration

Source position: classesh.inc line 3039

function ClassGroupOf(AClass: TPersistentClass) : TPersistentClass;
function ClassGroupOf(Instance: TPersistent) : TPersistentClass;

Description

ClassGroupOf returns the class group to which AClass or Instance belongs.

Errors

The result is Nil if no matching class group is found.

See also

Name Description
StartClassGroup Start new class group.
ActivateClassGroup Activates a class group.
GroupDescendentsWith Provided for Delphi compatibility.