API Reference
Function
New-HTMLTreeChildCounter
Creates a new HTML tree child counter object with specified options.
Remarks
This function creates a new HTML tree child counter object with the ability to customize its behavior using the provided parameters.
Examples
EXAMPLE 1
New-HTMLTreeChildCounter -Deep
Creates a new HTML tree child counter object that counts child elements recursively.
EXAMPLE 2
New-HTMLTreeChildCounter -HideZero -HideExpanded
Creates a new HTML tree child counter object that hides counters for child elements with a count of zero and expanded child elements.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-HTMLTreeChildCounter [-Deep] [-HideExpanded] [-HideZero] [<CommonParameters>]
#
Parameter set:
All Parameter SetsParameters
- Deep SwitchParameter
- Indicates whether to count child elements recursively.
- HideExpanded SwitchParameter
- Indicates whether to hide counters for expanded child elements.
- HideZero SwitchParameter
- Indicates whether to hide counters for child elements with a count of zero.