EventsType 複雜類型
包含資訊清單中定義的提供者清單。
<xs:complexType name="EventsType">
<xs:choice
maxOccurs="unbounded"
>
<xs:element name="provider"
type="ProviderType"
maxOccurs="unbounded"
/>
<xs:element name="messageTable"
minOccurs="0"
>
<xs:complexType>
<xs:sequence>
<xs:element name="message"
minOccurs="0"
maxOccurs="unbounded"
>
<xs:complexType>
<xs:attribute name="value"
type="UInt32Type"
use="required"
/>
<xs:attribute name="mid"
type="xs:string"
use="optional"
/>
<xs:attribute name="message"
type="strTableRef"
use="required"
/>
<xs:attribute name="symbol"
type="CSymbolType"
use="optional"
/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:any
processContents="lax"
minOccurs="0"
maxOccurs="unbounded"
namespace="##other"
/>
</xs:choice>
<xs:anyAttribute
namespace="##other"
/>
</xs:complexType>
子元素
元素 | 類型 | 描述 |
---|---|---|
message | 定義訊息字串。 | |
messageTable | 定義消息字串清單。 除了下列案例中,您必須定義消息表,才能明確將資源號碼指派給訊息字串,否則您不應該使用訊息表。
|
|
供應商 | ProviderType | 您想要定義的提供者清單。 |
屬性
名称 | 類型 | 描述 |
---|---|---|
message | strTableRef | 字串資料表中當地語系化字串的參考。 |
mid | xs:string | 未使用。 |
符號 | CSymbolType | 您想要讓訊息編譯器為此訊息字串建立的符號名稱。 |
value | UInt32Type | 要作為此訊息之訊息識別碼的數位。 |
備註
您可以在資訊清單中定義的提供者數目實際限制為 16 個提供者。 如果您指定超過 16 個提供者,則必須使用消息表,明確地將資源號碼指派給提供者所參考的訊息字串。 如需詳細資訊,請參閱上述訊息元素。
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | Windows Vista [僅限傳統型應用程式] |
最低支援的伺服器 | Windows Server 2008 [僅限傳統型應用程式] |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應