Share via


required Attribute

Applies To: Windows Server 2008

The required attribute specifies a Boolean value that represents whether a value must be specified for the parameter.

Syntax

required="true|false"

where the required attribute is specified as true or false. This is an optional attribute. The required attribute default value is false.

Examples

This XML fragment identifies an enum element representing a drop-down list where a value must be selected when the policy setting is enabled.

<enum id="Sample_Dropdownlist_Box" valueName="Example2DropDownList" required="true">

Additional references

decimal Element (elements)

text Element

enum Element