ScriptBlock Element for GroupBy
Specifies the script that starts a new group whenever its value changes.
Schema
- Configuration Element
- ViewDefinitions Element
- View Element
- GroupBy 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 |
---|---|
GroupBy Element for View | Defines how a group of .NET objects is displayed. |
Text Value
Specify the script that is evaluated.
Remarks
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.
See Also
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.