IComClass

Declaration

IComClass: IDispatch

Overview

This interface is meant to edit COM classes that will be registered.

Properties

IComClassActiveX ActiveX - Gets the object for editing specifications regarding ActiveX.

IComClassAppId AppId - Gets the object for editing specifications regarding DCOM servers.

IFile File - Gets or sets the executable file (.exe, .dll) containing the class.

String Context - Gets or sets the server context. Supported values: LocalServer, LocalServer32, InprocServer, InprocServer32.

String ThreadingModel - Gets or sets the model of the apartment the server can run in. Supported values: Apartment, Free, Both, Neutral, Single, Rental.

IProgIdFA ProgId - Gets or sets the default Program ID associated with this Class ID.

String VersionIndependentProgId - Gets or sets the version independent Program ID associated with this Class ID.

String Description - Gets or sets a description for the Class ID.

String Version - Gets or sets the version of this COM.

String TypeLibraryId - Gets or sets the ID of TypeLibrary describing this COM.

String IconPath - Gets or sets the physical source path of the icon file that will be associated with this CLSID.

String DefaultInProcHandler - Gets or sets the default in-process handler for the server context specified in the Context property. This property doesn’t work for registry based COM classes.

String Argument - Gets or sets the argument used to launch the server executable .

Bool HasRelativePath - Gets or sets the option that specifies if the register path is relative or absolute.

String RegistryPath - Gets or sets the registry location where the COM is registered. For COMs defined through MSI Class table this location is read only.
Supported values: HKEY_CLASSES_ROOT\CLSID, HKEY_CURRENT_USER\Software\Classes\CLSID, HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID, HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID, HKEY_LOCAL_MACHINE\Software\Wow6432Node\Classes\CLSID.

See also

IComComponent