Description

Registers a new McObjMgr “Category”.

Return Type

A Long value.  

ID number of the new category.

Syntax

object.RegisterCategory (bstrCategoryName)

The RegisterCategory Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McObjects.
bstrCategoryNameRequired. A String value.

Remarks

An object category is a named group which can be easily scanned for its members. A McObject may be a part of zero, one or many categories.

The McObjects interface provides methods for easily implementing a collection of objects in any category with some shared parent object (see GetCategoryItem).