String.Id property
Represents the unique ID of a string resource.
Usage
<String.Id/>
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 value for String.Id must be unique.
The ID is associated with a string definition in the Ribbon header file, for example, #define strSave 59999
.
This element contains a value from the union of types xs:positiveInteger and xs:string. The value is constrained to a integer value between 2 and 59999, inclusive, or 0x2 and 0xea5f in hexadecimal, inclusive.
The maximum length is 10 characters with optional leading zeros.
Examples
The following example demonstrates the markup for a Command.LabelTitle element with a String.Id 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] |