| description | ScriptBlock Element for GroupBy |
|---|---|
| ms.date | 08/24/2021 |
| title | ScriptBlock Element for GroupBy |
Specifies the script that starts a new group whenever its value changes.
- Configuration Element
- ViewDefinitions Element
- View Element
- GroupBy Element
- ScriptBlock Element
<ScriptBlock>ScriptToEvaluate</ScriptBlock>The following sections describe attributes, child elements, and the parent element of the
ScriptBlock element.
None.
None.
| Element | Description |
|---|---|
| GroupBy Element for View | Defines how a group of .NET objects is displayed. |
Specify the script that is evaluated.
PowerShell starts a new group whenever the value of this script changes.
When this element is specified, you cannot specify the PropertyName element to start a new group.