Partager via


expandable Attribute

Applies To: Windows Server 2008

The expandable attribute is a Boolean value. If true, the registry subkey value will be created as an expandable string type (REG_EXPAND_SZ); otherwise, the registry subkey value will be created as a string type (REG_SZ).

Syntax

expandable="<true|false>"

where

true represents expandable string type (REG_EXPAND_SZ) and

false represents string type (REG_SZ)

Remarks

The expandable attribute is an optional attribute, false by default.

Examples

This XML fragment is an example that specifies a text element that will store its value in a REG_EXPAND_SZ registry subkey.

<text id="Sample_textboxExpandszPrompt"

valueName="Example2TextboxExpandsz"

required="true"

expandable="true" />

Additional references

list Element

text Element