String 要素

1 つ以上<の Description>Label>、<または Title> 要素のテキストとして使用できる文字列を<定義します。

注:

  • 親要素が ShortStrings> の<場合、値は 125 文字以下にすることができます。
  • 親要素が LongStrings> の<場合、値は 250 文字以下です。

アドインの種類: 作業ウィンドウ、メール

次の VersionOverrides スキーマでのみ有効です

  • 作業ウィンドウ 1.0
  • メール 1.0
  • メール 1.1

詳細については、「 マニフェストでのバージョンのオーバーライド」を参照してください。

属性

属性 必須 説明
id はい 文字列リソースの一意識別子を指定します。
DefaultValue はい リソースのカスタム テキストを指定します。 親要素が ShortStrings> の<場合、テキストの最大文字数は 125 文字です。 ただし、親要素が <LongStrings> の場合、テキストの文字数は最大 250 文字です。

子要素

要素 説明
Override string 指定したロケールに応じて文字列をオーバーライドする方法を提供します。

<Resources>
      <bt:Images>
        <bt:Image id="icon1_16x16" DefaultValue="https://www.contoso.com/icon_default.png">
          <bt:Override Locale="ja-jp" Value="https://www.contoso.com/ja-jp16-icon_default.png" />
        </bt:Image>
        <bt:Image id="icon1_32x32" DefaultValue="https://www.contoso.com/icon_default.png">
          <bt:Override Locale="ja-jp" Value="https://www.contoso.com/ja-jp32-icon_default.png" />
        </bt:Image>
        <bt:Image id="icon1_80x80" DefaultValue="https://www.contoso.com/icon_default.png">
          <bt:Override Locale="ja-jp" Value="https://www.contoso.com/ja-jp80-icon_default.png" />
        </bt:Image>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="residDesktopFuncUrl" DefaultValue="https://www.contoso.com/Pages/Home.aspx">
          <bt:Override Locale="ja-jp" Value="https://www.contoso.com/Pages/Home.aspx" />
        </bt:Url>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="residLabel" DefaultValue="GetData">
          <bt:Override Locale="ja-jp" Value="JA-JP-GetData" />
        </bt:String>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="residToolTip" DefaultValue="Get data for your document.">
          <bt:Override Locale="ja-jp" Value="JA-JP - Get data for your document." />
        </bt:String>
      </bt:LongStrings>
    </Resources>