Version: 2023.2

SearchContextConstructor

切换到手册
public SearchContext (IEnumerable<SearchProvider> providers, string searchText, Search.SearchFlags options);
public SearchContext (IEnumerable<SearchProvider> providers, string searchText);
public SearchContext (IEnumerable<SearchProvider> providers);

参数

providers The list of search providers used to resolve the specified query.
searchText The search query to perform.
options A set of options that help evaluate the query.

描述

Creates a new search context.