共用方式為


String.Id 屬性

表示字串資源的唯一識別碼。

使用方式

<String.Id/>

屬性

沒有屬性。

子元素

沒有子專案。

父元素

元素
字串

備註

選擇性。

每個 String 元素最多可能會發生一次。

String.Id的值必須是唯一的。

識別碼與功能區標頭檔中的字串定義相關聯,例如 。 #define strSave 59999

這個專案包含 xs:positiveIntegerxs:string類型的等位值。 此值受限於介於 2 到 59999 之間的整數值,包含或0x2,且包含十六進位且包含0xea5f。

長度上限為 10 個字元,且具有選擇性前置零。

範例

下列範例示範具有String.Id宣告的Command.LabelTitle元素標記。

<Command.LabelTitle>
  <String>
    <String.Content>Label for Save</String.Content>
    <String.Id>59999</String.Id>
    <String.Symbol>strSave</String.Symbol>
  </String>
</Command.LabelTitle>

規格需求

需求
最低支援的用戶端
Windows 7 [僅限傳統型應用程式]
最低支援的伺服器
Windows Server 2008 R2 [僅限傳統型應用程式]