| 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 |
|
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.
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.