다음을 통해 공유


elements

Defines the types of optional parameters defined in a policy setting. The number and type of PolicyElements must match the policy presentation elements.

Element hierarchy

<policyDefinitions>
<policies>
<policy>
<elements>

Syntax

<elements>

  <!-- Child elements -->
  ( boolean
  | decimal
  | text
  | enum
  | list
  | longDecimal
  | multiText
  )+

</elements>

Key

+   required (one or more)

Attributes and Elements

Attributes

None.

Child Elements

Child Element Description
[boolean](element-boolean.md)

A choice element in a policy with associated values for the true and false cases.

[decimal (type: DecimalElement)](element-decimal.md)

A number/decimal element in a policy. The value can be stored in either a numeric or string representation of the value.

[enum](element-enum.md)

An enumeration element in a policy.

[list](element-list.md)

A list element in a policy.

[longDecimal (type: LongDecimalElement)](element-longdecimal.md)

A QWORD (64-bit unsigned integer) number/decimal element in a policy.

[multiText](element-multitext.md)

A multi-line text element in a policy.

[text (type: TextElement)](element-1-text.md)

A text element in a policy.

 

Parent Elements

Parent Element Description
[policy](element-policy.md)

A single policy setting definition.

 

Requirements

Namespace

https://www.microsoft.com/GroupPolicy/PolicyDefinitions