RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComObjectFactory.ClassID Property

Specifies the class identifier (CLSID) for the COM class that the particular instance of the factory can instantiate.

Pascal
property ClassID: TGUID;
C++
__property TGUID ClassID;

ClassID is used to identify the COM class that the factory can instantiate for this factory instance. It is as a used by other methods to identify this class. 

ClassID is initialized, in the class factory constructor, to the CLSID that is passed to the constructor. ClassID is also used in the UpdateRegistry method when the COM server's initialize is called. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!