GoogleSearchGetSearchResultStringAsync Method
Asynchronously searches the World Wide Web using Google Search service with the specified search options.
Namespace: DevCase.ThirdParty.Google.SearchAssembly: DevCase.net48.ThirdParty.GoogleServices (in DevCase.net48.ThirdParty.GoogleServices.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
Public Shared Function GetSearchResultStringAsync (
searchOptions As GoogleSearchOptions
) As Task(Of String)
Dim searchOptions As GoogleSearchOptions
Dim returnValue As Task(Of String)
returnValue = GoogleSearch.GetSearchResultStringAsync(searchOptions)
No code example is currently available or this language may not be supported.
- searchOptions GoogleSearchOptions
-
The search options to use with the Google Search service.
TaskString
The resulting response as a
Html string.
This is a code example.
No code example is currently available or this language may not be supported.
Dim searchOptions As New GoogleSearchOptions With {
.SearchTerm = "Hello World",
.Language = GoogleLanguage.EN,
.NumberOfResults = GoogleSearchOptions.MaxNumberOfResults,
.FilterResults = False,
.InputEncoding = Encoding.GetEncoding("ISO-8859-1"),
.OutputEncoding = Encoding.GetEncoding("ISO-8859-1")
}
Dim html As String = Await GetSearchResultStringAsync(searchOptions, page:=0)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.