ICategoryFactory Interface

Provides access to members that work with the category factory.

Description

Use the ICategoryFactory interface to read the information in the registry to find out what classes are in a particular category. The IComponentCategoryManager is used for writing component category information to the registry.

Members

Name Description
Write-only property CategoryID The ID of the category.
Method CreateNext Creates the next component in the category.

ICategoryFactory.CategoryID Property

The ID of the category.

Public WriteOnly Property CategoryID
public void CategoryID {set;}

Description

Set the CategoryID to the GUID of the component category to be read.

Remarks

After the component category was specified with the CategoryID property, it points to the classes registered in that category. If more classes were added to that component category, and the CategoryID property is set second time to the same category to retrieve all registered classes including new ones, the CategoryID still points to the first state of the component category in the registry. No new classes could be retrieved in the same application runtime.

ICategoryFactory.CreateNext Method

Creates the next component in the category.

Public Function CreateNext ( _
) As Object
public object CreateNext (
);

Description

The CreateNext method retrieves classes from the specified component category. Specify the category with the CategoryID property.

Classes that implement ICategoryFactory

Classes Description
CategoryFactory Component Category Factory.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close