WikiSearcher.Search(String, WikiSearchSettings) Method

Definition

Searches Wikipedia using the given searchString

public WikiDotNet.WikiSearchResponse Search (string searchString, WikiDotNet.WikiSearchSettings? searchSettings = default);

Parameters

searchString
String

The string to search for

searchSettings
WikiSearchSettings

An optional set of settings to

Returns

WikiSearchResponse

A list of search results obtained from the Wikipedia API

Exceptions

Thrown if searchString is null or whitespace.

Applies to