This document is archived and information here might be outdated.  Recommended version.


IComponentCategoryManager Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

IComponentCategoryManager Interface

Provides access to members that work with the component category manager.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The IComponentCategoryManager interface has methods that allow you to create a new component category, add or remove a particular object to or from a category, and add or remove all objects of a certain type to or from a category.

See the Component Categories topic for more details on the ComponentCatgeoryManager.

When To Use

Use the IComponentCategoryManager interface to programmatically add or remove components to or from a particular category. This interface has methods for creating a new component category, adding or removing a particular object to or from a category, and adding or removing all objects of a certain type to or from a category.

Members

Description
Method Create Creates a component category.
Method Setup Installs or uninstalls the objects that match the object type into the given category.
Method SetupObject Installs or uninstalls the given object into the given category.

CoClasses that implement IComponentCategoryManager

CoClasses and Classes Description
ComponentCategoryManager Component Category Manager Object.

Remarks

To get access to the IComponentCategoryManager interface create a new instance of a ComponentCategoryManager object.

See Also

ICategoryFactory Interface