This version of Unity is unsupported.

SearchContext.selection

public Search.SearchSelection selection;

Description

Returns the search result selection if any.