DesktopSearchField.Text

From Xojo Documentation

Property (As String )
aDesktopSearchField.Text = newStringValue
or
StringValue = aDesktopSearchField.Text

New in 2021r3

Supported for all project types and targets.

The value of the SearchField.