IObjectSelectorControllerGetItems Method |
Gets the collection of objects available for selection.
Namespace: Kentico.Components.Web.Mvc.Selectors.InternalAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
SyntaxTask<ActionResult> GetItems(
GetItemsActionRouteValues routeData,
int pageIndex,
string searchTerm,
CancellationToken cancellationToken
)
Parameters
- routeData
- Type: Kentico.Components.Web.Mvc.Selectors.InternalGetItemsActionRouteValues
The route data that hold information about the selector type (Controller) and the property that uses the selector component. - pageIndex
- Type: SystemInt32
The zero-based page index. - searchTerm
- Type: SystemString
The search term. - cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type:
TaskActionResult
See Also