Editar

Partilhar via


ScriptBlock Element for ExpressionBinding for Controls for Configuration

Specifies the script whose value is displayed by the common control. This element is used when defining a common control that can be used by all the views in the formatting file.

Schema

  • Configuration Element
  • Controls Element
  • Control Element
  • CustomControl Element
  • CustomEntries Element
  • CustomEntry Element
  • CustomItem Element
  • ExpressionBinding Element
  • ScriptBlock Element

Syntax

<ScriptBlock>ScriptToEvaluate</ScriptBlock>

Attributes and Elements

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

Attributes

None.

Child Elements

None.

Parent Elements

Element Description
ExpressionBinding Element for CustomItem for Controls for Configuration Defines the data that is displayed by the common control.

Text Value

Specify the script whose value is displayed by the control.

Remarks

See Also

ExpressionBinding Element for CustomItem for Controls for Configuration

Writing a PowerShell Formatting File