Bewerken

Delen via


DisplayError Element

Specifies that the string #ERR is displayed when an error occurs displaying a piece of data.

Schema

  • Configuration Element
  • DefaultSettings Element
  • DisplayError Element

Syntax

<DisplayError/>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element of the DisplayError element.

Attributes

None.

Child Elements

None.

Parent Elements

Element Description
DefaultSettings Element Defines common settings that apply to all the views of the formatting file.

Remarks

By default, when an error occurs while trying to display a piece of data, the location of the data is left blank. When this element is set to true, the #ERR string will be displayed.

See Also

DefaultSettings Element

Writing a PowerShell Formatting File