Partager via


string Element (.adml)

Applies To: Windows Server 2008

The string element represents a localized display string.

Syntax

<string id="<placeholderID>">Placeholder text</string>

where Placeholder text is the localized text string that will be displayed.

Attributes

Attributes Required Description

id Attribute

Yes

A mapping to the string element.

Child elements

There are no child elements associated with this element.

Remarks

Unlike the string definitions in the ADM files, the placeholder text does not use special formatting characters. Instead, hard carriage returns and spacing will be displayed in the same manner they are inserted.

Examples

This XML fragment shows a string element for Explain text. The Explain text shows how formatting is included in the string element text.

      <string id="Sample_Actionlist_Help">This is an example of a Group Policy setting that configures parameters using an action list.

If you enable this policy setting, three registry values will be set.
Note:The action list parameter does not create a unique user interface and can be used to set as many registry values as needed.

If you disable this policy setting, the first two values will be set and one value will be deleted.

If you do not configure this policy setting, all values will be deleted, if currently set.

Note: This policy setting changes the Example2Actionlist1, Example2Actionlist2 and Example2Actionlist3 registry values.</string>>

Additional references

stringTable Element