EnumerateClassNames() Intrinsic methods EnumerateInstances()

You can use the EnumerateClassNames() method to enlist the names of all subclasses of a single object class or the names of all classes of the same object type in the target namespace.

Parameters

Table 216 shows the parameters you can specify for the EnumerateClassNames() method:

Table 216. EnumerateClassNames() parameters
Parameter Type Description
ClassName String Defines the name of the class for which subclasses are to be returned. If this parameter is NULL, all base classes within the target namespace are returned.
DeepInheritance Boolean TRUE returns all subclasses of the specified class. FALSE returns only immediate child subclasses.
Return values

The EnumerateClassNames() method enumerates the specified name of one or more classes or returns one of the following error codes:

(C) Copyright International Business Machines Corporation 2003, 2004