Skip to content

Commit a39f899

Browse files
Merge pull request #5463 from MicrosoftDocs/alvinashcraft/main-cmdpal-update-getitems-api
Fix copy/paste error in CmdPal ListPage.GetItems
2 parents b225afe + 6828ad2 commit a39f899

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed
Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
---
2-
title: ListItems.GetPage() Method
3-
description: The GetPage method retrieves the items in the current page of the list.
4-
ms.date: 2/25/2025
2+
title: ListPage.GetItems() Method
3+
description: The GetItems method retrieves the items in the current page of the list.
4+
ms.date: 06/03/2025
55
ms.topic: reference
66
no-loc: [PowerToys, Windows, Insider]
77
---
88

9-
# ListItems.GetPage() Method
9+
# ListPage.GetItems() Method
1010

1111
## Definition
1212

1313
Namespace: [Microsoft.CommandPalette.Extensions.Toolkit](microsoft-commandpalette-extensions-toolkit.md)
1414

15-
The **GetPage** method retrieves the items in the current page of the list. This method is typically called when the user navigates to a different page in the list.
15+
The **GetItems** method retrieves the items in the current page of the list. This method is typically called when the user navigates to a different page in the list.
1616

1717
## Returns
1818

19-
An [IListItem[]](../microsoft-commandpalette-extensions/ilistitem.md) array containing the items in the current page of the list. The number of items returned is determined by the **PageSize** property of the **ListItems** class.
19+
An array of [IListItem](../microsoft-commandpalette-extensions/ilistitem.md) implementations containing the items in the current page of the list. The number of items returned is determined by the **PageSize** property of the **ListItems** class.
20+
21+
## Related content
22+
23+
- [IListItem](../microsoft-commandpalette-extensions/ilistitem.md)
24+
- [LoadMore](listpage_loadmore.md)

0 commit comments

Comments
 (0)