WikiSearcher.Search(String, WikiSearchSettings) Method
Definition
Searches Wikipedia using the given searchString
public WikiDotNet.WikiSearchResponse Search (string searchString, WikiDotNet.WikiSearchSettings? searchSettings = default);
Parameters
- searchString
- System.String
The string to search for
- searchSettings
- WikiSearchSettings
An optional set of settings to
Returns
A list of search results obtained from the Wikipedia API
Exceptions
System.ArgumentOutOfRangeException
Thrown if searchString
is null or whitespace.