com4:Version
類型程式庫的版本號碼和其他資訊。
元素階層
<com4:Version>
Syntax
<com4:Version
VersionNumber = 'One to three alphanumeric characters, separated by a period, followed by one to three more alphanumeric characters (for example, 1.5a).'
LocaleId = 'A string with a value in hexadecimal format containing numbers or the letters a, b, c, d, e, or f (capital or lower case).'.
LibraryFlag = 'A string with a value 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.'
DisplayName = 'A string with a value between 1 and 256 characters in length. This string is localizable.' >
<!-- Child elements -->
Win32Path{1,1000}
Win64Path{1,1000}
</com4:Version>
屬性和元素
屬性
屬性 | 描述 | 資料類型 | 必要 | 預設值 |
---|---|---|---|---|
VersionNumber | 版本號碼的名稱。 | 一到三個英數位元,後面接著一到三個英數位元,例如 1.5a | Yes | |
LocaleId | 代表地理位置的識別碼。 | 十六進位格式的字串,包含數位或字母 a、b、c、d、e、f (大寫或小寫) 。 | Yes | |
LibraryFlag | LIBFLAGS列舉中的整數值。 | 十六進位格式的字串,包含數位或字母 a、b、c、d、e、f (大寫或小寫) 。 | Yes | |
HelpDirectory | HELPDIR 子機碼。 | 長度介於 1 到 32767 個字元之間的字串,其開頭和結尾具有非空白字元。 | Yes | |
DisplayName | 版本號碼的顯示名稱。 | 長度介於 1 到 256 個字元之間的字串。 這個字串可當地語系化。 | Yes |
子元素
子項目 | 描述 |
---|---|
Win32Path | 32 位類型程式庫的路徑。 |
Win64Path | 64 位類型程式庫的路徑。 |
父元素
父元素 | 描述 |
---|---|
com4:TypeLib | 註冊類型程式庫。 |
備註
您必須指定 Win32Path 或 Win64Path,而且可以同時指定這兩者。 如果從 32 位和 64 位架構的用戶端進程使用介面,產生和註冊型別程式庫的 32 位和 64 位格式,可以改善其介面的效能。
規格需求
Item | 值 |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/com/windows10/4 |
OS 最低版本 | Windows 10 (組建 20348) |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應