com:Version
有关类型库的版本号和其他信息。
元素层次结构
<com:Version>
语法
<com:Version
VersionNumber = 'One to three alphanumeric characters separated by a period followed by one to three more alphanumeric characters (for example, 1.5a).'
LocaleId = 'An optional string with a value in hexadecimal format containing numbers or the letters a, b, c, d, e, or f (capital or lower case)'.
LibraryFlag = 'An optional string with a value in hexadecimal format containing numbers or the letters a, b, c, d, e, or f (capital or lower case).'
HelpDirectory = 'An optional string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.' >
<!-- Child elements -->
Win32Path,
Win64Path
</com:Version>
特性和元素
属性
属性 | 说明 | 数据类型 | 必须 | 默认值 |
---|---|---|---|---|
VersionNumber | 版本号的名称。 | 一到三个字母数字字符,用句点分隔,后跟一到三个字母数字字符 (例如 1.5a) 。 | 是 | |
LocaleId | 表示地理位置的 ID。 | 一个可选字符串,其值采用十六进制格式,其中包含数字或字母 a 、、b 、e c d 、 或 f (大写或小写) |
否 | |
LibraryFlag | LIBFLAGS 枚举中的整数值。 | 一个可选字符串,其值采用十六进制格式,其中包含数字或字母 a 、、b 、e c d 、 或 f (大写或小写) |
否 | |
HelpDirectory | HELPDIR 子项。 | 一个可选字符串,其值长度在 1 到 32767 个字符之间,开头和结尾处有一个非空格字符。 | 否 |
子元素
子元素 | 说明 |
---|---|
Win32Path | 32 位类型库的路径。 |
Win64Path | 64 位类型库的路径。 |
父元素
父元素 | 说明 |
---|---|
com:TypeLib | 注册类型库。 |
注解
必须指定 Win32Path 或 Win64Path,并且可以同时指定两者。 如果从 32 位和 64 位体系结构的客户端进程使用类型库的接口,则为类型库生成和注册 32 位和 64 位格式可以提高性能。
要求
项 | 值 |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/com/windows10 |
Minimum OS Version | Windows 10版本 1703 (内部版本 15063) |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈