This document is archived and information here might be outdated. Recommended version. |
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*
Set the CategoryID to the GUID of the component category to be read.
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.