Description
COM Class registration for parent Component.
Derived By
Restricting anyType
Attributes
| Name |
Type |
Description |
| Id |
Guid |
The Class identifier (CLSID) of a COM server.
|
| Context |
anySimpleType (list) |
The server context(s) for this server.
|
| Description |
string |
Localized description associated with the Class ID and Program ID.
|
| AppId |
Guid |
This attribute is only allowed when a Class is advertised.
|
| Icon |
string |
The file providing the icon associated with this CLSID.
|
| IconIndex |
integer |
Icon index into the icon file.
|
| Handler |
string |
The default inproc handler.
|
| Argument |
string |
This column is optional only when the Context column is set to "LocalServer" or "LocalServer32" server context.
|
| RelativePath |
YesNoType |
When the value is "yes", the bare file name can be used for COM servers.
|
| Advertise |
YesNoType |
Set this value to "yes" in order to create a normal Class table row. Set this value to "no" in order to generate Registry rows that perform similar registration (without the often problematic Windows Installer advertising behavior).
|
| ThreadingModel |
NMTOKEN (restriction) |
Threading model for the CLSID.
|
| Version |
string |
Version for the CLSID.
|
| Insertable |
YesNoType |
Specifies the CLISD may be insertable.
|
| Programmable |
YesNoType |
Specifies the CLSID may be programmable.
|
| Server |
string |
May only be specified if the value of the Advertise attribute is "no".
|
| ShortPath |
YesNoType |
Specifies whether or not to use the short path for the COM server.
|
| SafeForScripting |
YesNoType |
May only be specified if the value of the Advertise attribute is "no".
|
| SafeForInitializing |
YesNoType |
May only be specified if the value of the Advertise attribute is "no".
|
| Control |
YesNoType |
Set this attribute's value to 'yes' to identify an object as an ActiveX Control.
|
Content Model
Contains elements as defined in the following table.
| Component |
Type |
Description |
| FileTypeMask |
anyType (restriction) |
FileType data for class Id registration.
|
| Interface |
anyType (restriction) |
COM Interface registration for parent Typelib.
|
| ProgId |
anyType (restriction) |
ProgId registration for parent Component.
|