item (in type: EnumerationElement)
One of the values in an EnumerationElement.
Element hierarchy
<policyDefinitions>
<policies>
<policy>
<elements>
<enum>
<item>
Syntax
<item displayName = stringReference >
<!-- Child elements -->
value,
valueList?
</item>
Key
?
optional (zero or one)
Attributes and Elements
Attributes
Attribute | Description | Data type | Required | Default value |
---|---|---|---|---|
displayName | The name of the value. |
stringReference | Yes |
Child Elements
Child Element | Description |
---|---|
[value](element-value.md) | Can be a string, a decimal value or deleted. |
[valueList](element-valuelist.md) | A list of items with an associated registry key and value. |
Parent Elements
Parent Element | Description |
---|---|
[enum](element-enum.md) | An enumeration element in a policy. |
Related elements
The following elements have the same name as this one, but different content or attributes:
Requirements
Namespace |
https://www.microsoft.com/GroupPolicy/PolicyDefinitions |