com:TypeLib (包/扩展,接口) 的子级

接口的类型库。

元素层次结构

<包>

    <扩展>

         <com:Extension>

              <com:ComInterface>

                   <com:Interface>

                        <com:TypeLib>

语法

<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).' />

特性和元素

属性

属性 说明 数据类型 必须 默认值
Id 类型库 ID。 格式为 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 的 GUID。
VersionNumber 类型库的版本。 一个可选值,包含一到三个字母数字字符,用句点分隔,后跟一到三个字母数字字符 (例如,1.5a) 。

子元素

无。

父元素

父元素 描述
com:Interface 声明 类型为 windows.comInterface 的包扩展点。 comInterface 扩展可能包括三种类型的注册: InterfaceProxyStubTypeLib

要求

命名空间 http://schemas.microsoft.com/appx/manifest/com/windows10
Minimum OS Version Windows 10版本 1703 (内部版本 15063)