com:ProgId

Description

A programmatic identifier (ProgID) that can be associated with a CLSID. The ProgID identifies a class but with less precision than a CLSID because it is not guaranteed to be globally unique.

Element Hierarchy

<Package>
<Applications>
<Application>
<Extensions>
<com:Extension>
<com:ComServer>
<com:ProgId>

Syntax

<com:ProgId 
    Id = An alphanumeric string separated by a period between 1 and 255 characters in length, e.g. Foo.Bar or Foo.Bar.1
    Clsid? = A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
    CurrentVersion? = An alphanumeric string separated by a period between 1 and 255 characters in length, e.g. Foo.Bar or Foo.Bar.1 >
</com:ProgId>

Key

?   optional (zero or more)

Attributes

Attribute Description Data type Required
Id The ID of the ProgID. An alphanumeric string separated by a period between 1 and 255 characters in length, e.g. Foo.Bar or Foo.Bar.1 Yes
Clsid Associates a ProgID with a CLSID. A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. No
CurrentVersion The version of the ProgID. An alphanumeric string separated by a period between 1 and 255 characters in length, e.g. Foo.Bar or Foo.Bar.1 No

Remarks

The Clsid attribute must reference the Id attribute of an ExeServer class, SurrogateServer class, or TreatAsClass registration within the same ComServer extension.

For more information on the ProgID, see <ProgID> Key.

Note

Clsid and CurrentVersion are mutually exclusive, but at least one must be provided.

Examples

Requirements

Namespace

http://schemas.microsoft.com/appx/manifest/com/windows10