Edit

Share via


com:TypeLib (in Interface)

A type library for an interface.

Element hierarchy

<Package>
   └─ <Applications>
      └─ <Application>
         └─ <Extensions>
            └─ <com:Extension>
               └─ <com:ComInterface>
                  └─ <com:Interface>
                     └─ <com:TypeLib>
   └─ <Extensions>
      └─ <com:Extension>
         └─ <com:ComInterface>
            └─ <com:Interface>
               └─ <com:TypeLib>

Syntax

<com:TypeLib
    Id = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
    VersionNumber = 'An optional value with one to three alphanumeric characters separated by a period followed by one to three more alphanumeric characters (for example, 1.5a).' >
</com:TypeLib>

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Id The type library ID. A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. Yes
VersionNumber The version of the type library. An optional value with one to three alphanumeric characters separated by a period followed by one to three more alphanumeric characters (for example, 1.5a). No

Child elements

None.

Parent elements

Parent element Description
com:Interface Registers a new COM Interface.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/com/windows10
Minimum OS Version Windows 10 version 1703 (Build 15063)