2.2.3.18 Primitive Dictionary

This data type represents a dictionary, which contains only objects that are primitive types.

This data type is a dictionary (see section 2.2.5.2.6.4) with the restriction that keys are strings (see section 2.2.5.1.1) and values are any of the following:

  • Any Primitive Type Object (see section 2.2.5.1) except ScriptBlock (see section 2.2.5.1.23) or Secure String (section 2.2.5.1.24).

  • A list (see section 2.2.5.2.6.3) of Primitive Type Objects (see section 2.2.5.1) except ScriptBlock (see section 2.2.5.1.23) or Secure String (section 2.2.5.1.24).

  • Another Primitive Dictionary.

The dictionary described in this section SHOULD have the following type names (section 2.2.5.2.3):

  • System.Management.Automation.PSPrimitiveDictionary

  • System.Collections.Hashtable

  • System.Object

For an example see section 2.2.2.13.