Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 885 Bytes

File metadata and controls

19 lines (13 loc) · 885 Bytes
title TreeContent.GetChildren() Method
description The GetChildren method retrieves the child items of the current tree content in the Command Palette.
ms.date 2/27/2025
ms.topic reference
no-loc
PowerToys
Windows
Insider

TreeContent.GetChildren() Method

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

The GetChildren method retrieves the child items of the current tree content in the Command Palette. This method is used to populate the Command Palette with the items that are displayed when the user expands the tree content.

Returns

An IContent[] array representing the child items of the current tree content. This array contains the items that are displayed in the Command Palette when the user expands the tree content.