com:TypeLib

Registers a type library.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <com:Extension>

                        <com:ComInterface>

                             <com:TypeLib>

Syntax

<com:TypeLib
    Id = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.' >

  <!-- Child elements -->
  Version{1,1000}

</com:TypeLib>

Key

{}   specific range of occurrences

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

Child elements

Child element Description
Version Version number and additional information about the type library.

Parent elements

Parent element Description
com:ComInterface Declares a package extension point of type windows.comInterface. The comInterface extension may include three types of registrations: Interface, ProxyStub, or TypeLib.

Remarks

If the VersionNumber attribute is present, it must reference the VersionNumber attribute of a TypeLib/Version element under the TypeLib element referenced by the Id attribute.

Requirements

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