Edit

Share via


ContentPage.GetContent() Method

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

The GetContent method retrieves the content of the page, including the commands and details. This method can be used to access the current state of the page and its items.

Returns

An IContent[] array containing the content of the page. This array includes all the items that are currently displayed on the page, allowing you to access their properties and perform actions on them.