Share via


com4:ProgId

可以與 CLSID 相關聯的程式設計識別碼 (ProgID) 。 ProgID 會識別類別,但精確度低於 CLSID,因為它不保證是全域唯一的。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <com4:ProgId>

Syntax

<com4:ProgId
    Id = 'An alphanumeric string, separated by a period, with a value between 1 and 255 characters in length (for example, Foo.Bar or Foo.Bar.1).'
    Clsid = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
    CurrentVersion  = 'An alphanumeric string, separated by a period, with a value between 1 and 255 characters in length (for example, Foo.Bar or Foo.Bar.1).' />

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
Id ProgID 的識別碼。 以句號分隔的英數位元字串,長度介於 1 到 255 (個字元之間,例如,Foo.Bar 或 Foo.Bar.1) 。 Yes
Clsid 建立 ProgID 與 CLSID 的關聯。 格式為 xxxxxxxx-xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxx 的 GUID。 Yes
CurrentVersion ProgID 的版本。 以句號分隔的英數位元字串,長度介於 1 到 255 (個字元之間,例如,Foo.Bar 或 Foo.Bar.1) 。 Yes

子元素

無。

父元素

父元素 描述
延伸模組 定義應用程式的一或多個擴充點。

規格需求

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