Share via


com:TypeLib (comInterface/Interface)

介面的類型程式庫。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <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>

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
Id 類型程式庫識別碼。 格式為 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx 的 GUID。 Yes
VersionNumber 型別程式庫的版本。 選擇性值,其中一到三個英數位元以句號分隔,後面接著一到三個英數位元 (,例如 1.5a) 。 No

子元素

無。

父元素

父元素 描述
com:Interface 註冊新的 COM 介面。

規格需求

Item
Namespace http://schemas.microsoft.com/appx/manifest/com/windows10
OS 最低版本 Windows 10版本 1703 (組建 15063)