Share via


SearchResponse Constructors

Definition

Overloads

SearchResponse()

Initializes a new instance of the SearchResponse class.

SearchResponse(String, String, QueryContext, WebWebAnswer)

Initializes a new instance of the SearchResponse class.

SearchResponse()

Initializes a new instance of the SearchResponse class.

public SearchResponse ();
Public Sub New ()

Applies to

SearchResponse(String, String, QueryContext, WebWebAnswer)

Initializes a new instance of the SearchResponse class.

public SearchResponse (string id = default, string webSearchUrl = default, Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.QueryContext queryContext = default, Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.WebWebAnswer webPages = default);
new Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.SearchResponse : string * string * Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.QueryContext * Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.WebWebAnswer -> Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.SearchResponse
Public Sub New (Optional id As String = Nothing, Optional webSearchUrl As String = Nothing, Optional queryContext As QueryContext = Nothing, Optional webPages As WebWebAnswer = Nothing)

Parameters

id
String

A String identifier.

webSearchUrl
String

The URL To Bing's search result for this item.

queryContext
QueryContext

An object that contains the query string that Bing used for the request. This object contains the query string as entered by the user. It may also contain an altered query string that Bing used for the query if the query string contained a spelling mistake.

webPages
WebWebAnswer

A list of webpages that are relevant to the search query.

Applies to