Редагувати

Поділитися через


String.Symbol property

Represents the name of a string resource.

Usage

<String.Symbol/>

Attributes

There are no attributes.

Child elements

There are no child elements.

Parent elements

Element
String

Remarks

Optional.

May occur at most once for each String element.

The symbol is associated with a string definition in the Ribbon header file, for example, #define strSave 59999.

This element contains a value of type xs:string. The value is constrained to a string composed of a letter or underscore followed by any sequence of letters, digits, or underscores.

The maximum length is 100 characters.

Examples

The following example demonstrates the markup for a Command.LabelTitle element with a String.Symbol declaration.

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

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]