System.Win.ComObj.TComObjectFactory.ClassID

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ClassID: TGUID read FClassID;

C++

__property GUID ClassID = {read=FClassID};

Properties

Type Visibility Source Unit Parent
property public
System.Win.ComObj.pas
System.Win.ComObj.hpp
System.Win.ComObj TComObjectFactory

Description

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

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.

See Also