---
title: tasks
framework: intents
role: symbol
role_heading: Instance Property
path: intents/insearchfornotebookitemsintentresponse/tasks
---

# tasks

The individual tasks found by the search.

## Declaration

```swift
var tasks: [INTask]? { get set }
```

## Discussion

Discussion When searching for items of type INNotebookItemType.task or reminder, put the results of your search in this property. Assign a value to the sortType property that indicates how you sorted the results.

## See Also

### Specifying the Search Results

- [notes](intents/insearchfornotebookitemsintentresponse/notes.md)
- [taskLists](intents/insearchfornotebookitemsintentresponse/tasklists.md)
- [sortType](intents/insearchfornotebookitemsintentresponse/sorttype.md)
- [INSortType](intents/insorttype.md)
