<com3:Class
Id = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
DisplayName = 'An optional string with a value between 1 and 256 characters in length.'
EnableOleDefaultHandler = 'An optional boolean value.'
ProgId = 'An optional alphanumeric string separated by a period with a value between 1 and 255 characters in length (e.g. Foo.Bar or Foo.Bar.1).'
VersionIndependentProgId = 'An optional alphanumeric string separated by a period with a value between 1 and 255 characters in length (e.g. Foo.Bar or Foo.Bar.1).'
AutoConvertTo = 'An optional GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
InsertableObject = 'An optional boolean value.'
ShortDisplayName = 'An optional string with a value between 1 and 40 characters in length.' >
<!-- Child elements -->
ImplementedCategories?,
Conversion?,
DataFormats?,
MiscStatus?,
Verbs?,
DefaultIcon?,
ToolboxBitmap32?
</com3:Class>
Key
? optional (zero or one)
Attributes and elements
Attributes
Attribute
Description
Data type
Required
Default value
Id
The Id attribute corresponds to the CLSID (HKCR\CLSID{MyGuid}).
A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
Yes
DisplayName
A localizable string corresponding to the default value of the CLSID's key.
An optional string with a value between 1 and 256 characters in length.
No
EnableOleDefaultHandler
This should be set to true if the default value of the InprocHandler32 key is "Ole32.dll". Otherwise it should be omitted. The default value is false.
An optional boolean value.
No
ProgId
Associates a programmatic identifier (ProgID) with a CLSID.
An optional alphanumeric string separated by a period with a value between 1 and 255 characters in length (e.g. Foo.Bar or Foo.Bar.1).
No
VersionIndependentProgId
Associates a ProgID with a CLSID. This value is used to determine the latest version of an object application.
An optional alphanumeric string separated by a period with a value between 1 and 255 characters in length (e.g. Foo.Bar or Foo.Bar.1).
No
AutoConvertTo
Specifies the automatic conversion of a given class of objects to a new class of objects.
An optional GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
No
InsertableObject
Indicates that this class is insertable.
An optional boolean value.
No
ShortDisplayName
A short version of the class display name.
An optional string with a value between 1 and 40 characters in length.
Registers a COM server (with one or more class registrations) hosted in a Windows service that is declared with a corresponding desktop6:Service element.