Share via


介面 (Windows 10)

宣告與 Proxy 相關聯的介面。

元素階層

<套件>

    <延伸模組>

         <擴展>

              <ProxyStub>

                   <介面>

語法

<Interface
  Name = 'A string with a value between 1 and 255 characters in length that consists of alphanumeric, period, and underscore characters.'
  InterfaceId = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.' />

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
名稱 介面的名稱。 長度介於 1 到 255 個字元之間的字串,其中包含英數位、句號和底線字元。 Yes
InterfaceId 介面識別碼。 格式為 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx 的 GUID。

子元素

無。

父元素

父元素 描述
ProxyStub 宣告 windows.activatableClass.proxyStub類型的套件擴充點。 Proxy 可以由一或多個介面組成。

規格需求

Item
Namespace http://schemas.microsoft.com/appx/manifest/foundation/windows10