ArcObjects Library Reference (System)  

ICategoryFactory.CategoryID Property

The ID of the category.

[Visual Basic .NET]
Public WriteOnly Property CategoryID
[C#]
public void CategoryID {set;}
[C++]
HRESULT put_CategoryID(
  IUID* 
);
[C++]

Parameters

[in]

   is a parameter of type IUID

Product Availability

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

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. 

See Also

ICategoryFactory Interface