Edit

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.