ScriptBlock Element for SelectionCondition for EntrySelectedBy for ListControl (Format)
Specifies the script that triggers the condition. When this script is evaluated to true, the condition is met, and the list entry is used.
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 |
|---|---|
SelectionCondition Element for EntrySelectedBy for ListEntry (Format) | Defines the condition that must exist for this list entry to be used. |
Text Value
Specify the script that is evaluated.
The selection condition must specify a least one script or property name to evaluate, but cannot specify both. (For more information about how selection conditions can be used, see Defining Conditions for when a View Entry or Item is Used.)
For more information about the other components of a list view, see List View.
ListEntry Element (Format)
PropertyName Element for SelectionCondition for EmtrySelectedBy for ListEntry (Format)
SelectionCondition Element for EntrySelectedBy for ListEntry (Format)
List View
Defining Conditions for when a View Entry or Item is Used
Writing a Windows PowerShell Formatting and Types File