Share via


label Element

Applies To: Windows Server 2008

The label element is a localized string label for the text box parameter.

Syntax

<label>Placeholder localized text</label>

Attributes

There are no attributes associated with this element.

Child elements

There are no child elements associated with this element.

Remarks

The Group Policy Management Console or Local Group Policy Editor will display an error if the label element is not the first child element of the textBox element.

Examples

This XML fragment specifies a text box parameter with a label, "This text box allows input of environment variables:"

        <textBox refId="Sample_textboxExpandszPrompt">
          <label>This text box allows input of environment variables:</label>
          <defaultValue>%SYSTEMROOT%\Example</defaultValue>
        </textBox>

Additional references

textBox Element

comboBox Element