com:Package/Extensions) 中的版本 (
版本號碼和類型程式庫的其他資訊。
元素階層
<com:Version>
Syntax
<com:Version
VersionNumber = 'A string with a value between 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 in hexadecimal format containing numbers or the letters a, b, c, d, e, or f (capital or lower case).'
LibraryFlag = 'An optional string in hexadecimal format containing numbers or the letters a, b, c, d, e, or f (capital or lower case).'
HelpDirectory = 'A 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) 。 | Yes | |
LocaleId | 代表地理位置的識別碼。 | 十六進位格式的選擇性字串,包含數位或字母 a、b、c、d、e 或 f (大寫或小寫) 。 | No | |
LibraryFlag | LIBFLAGS列舉中的整數值。 | 十六進位格式的選擇性字串,包含數位或字母 a、b、c、d、e 或 f (大寫或小寫) 。 | No | |
HelpDirectory | HELPDIR 子機碼。 | 長度介於 1 到 32767 個字元之間的字串,其開頭和結尾為非空白字元。 | No |
子元素
子項目 | 描述 |
---|---|
Win32Path | 32 位類型程式庫的路徑。 |
Win64Path | 64 位類型程式庫的路徑。 |
父元素
父元素 | 描述 |
---|---|
com:TypeLib | 註冊類型程式庫。 |
備註
如需有關此頁面上型別程式庫和屬性的詳細資訊,請參閱 註冊型別程式庫。
注意
您必須同時指定 Win32Path 和 Win64Path。
規格需求
Item | 值 |
---|---|
命名空間 | http://schemas.microsoft.com/appx/manifest/com/windows10 |
OS 最低版本 | Windows 10版本 1703 (組建 15063) |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應